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
Example - More info #127
Comments
Ping @michaelblight, Would you mind sharing it? 🙂 |
I mainly use the Node Red add-on for automation in HA, so the field is just a simple input which NR then populates. So the HA config is:
And it's a NR add-on called
There's probably a simpler way to do it in straight HA automation. |
I think you could do it in HA along the lines of:
And for sunrise:
Adjusting the offsets as you see fit. |
@michaelblight i used your config, but i'm getting an error: Any ideas? |
@shawtux Which version are you using - the first (NR) or the second (HA)? Either way, you should try using the "Services" tab under the "Developer Tools" menu in HA to ensure that everything works there first. |
Thanks! Actually, in the services I don't have input_number.set_value. could this be it? |
@michaelblight change from node-red (memory hog) to the home assistant. Found out that to have this service, one needs to add in the configuration the following: input_number:
slider1:
name: Slider
initial: 30
min: -20
max: 35
step: 1
box1:
name: Numeric Input Box
initial: 30
min: -20
max: 35
step: 1
mode: box
nightime:
name: Nightime value
initial: 0
min: 0
max: 1
step: 1
mode: box if this isn't added, then the service called is not available. Now it works with the HA config as well |
In the last example on your wiki, your using
input_number.nighttime
to show sun-up/sun-down. Would you mind sharing the HA config for that input_number?The text was updated successfully, but these errors were encountered: