-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service call to Input_datetime not working #543
Comments
Had the same problem. After quite a few tries, found out how it works (no info in the docs).
|
Here's the cure for you: https://github.com/dmamelin/pyscript_autocomplete |
Interesting... |
I have a time helper entity set up. I want to change the time in the pyscript code. I've tried calling the service as below;
input.datetime.battery_charge_start.set_datetime(time="08:01:00")
service.call("input_datetime", "set_datetime", entity_id="input.datetime.battery_charge_start", time="08:01:00")
input_datetime.set_datetime(entity_id="input.datetime.battery_charge_start", time="08:01:00")
Neither work. However for another helper, this works;
input_number.set_value(entity_id="input_number.battery_monitor_start_secs", value=34)
I need a little help please.
The text was updated successfully, but these errors were encountered: