Hi all, thank you all for this thread, but I want to be able to turn on my TV and my dimmer go to 50% or 25% brightness of 100%.
The way it’s been setup (as per the threads above) is that I get 50% of my last state of the dimmer. eg. light last off at 40%, it turns on at 20%.
My current input_number.yaml is:
Not sure what you have the input number for as it’s not doing anything in that automation.
That automation will divide the current brightness by 2 when the TV turns on, but only if the light is off… Your condition seems wrong to me. If the light is off the brightness will be zero. Plus, don’t you just want to reduce the brightness of a light which is on?
Thanks for the reply Dave.
To be honest, I got the input number details from another post I read around 3 weeks ago to get a slider card on my lovelace to adjust the brightness. I didn’t like the large lightbulb card with the gauge to adjust the brightness.
But what you mention about reducing and increasing brightness is exactly what I’m looking for. I just haven’t found any other posts that explain how to do it on the sonoff D1.
I think I’m overthinking it and in doing so, I can’t wrap my mind around how to
What I’m really trying to get to, is to be able to add a shortcut on my phone, whereby I can select it and it goes to a specific brightness. Whether the light is on or off.
I’m not sure if this should be an automation or a script that I need to create. Say one for 75%, another for 50% and then 25%.
I finally played around enough and created scripts for each of the % that I wanted (20,40,60,80 and 100).
I’ve subsequently created shortcuts on my phone whereby I can activate each iteration by voice.
Unfortunately I’ve got an iPhone. Siri only understands what I’ve programmed as a shortcut into it.
It would be great if I knew how or what kind of script, would allow me to adjust brightness based on what I say.
So in the script where I have my action, I have set brightness: 50%… if it it said “variable” instead or something to that effect that would be great but don’t know how to do that.