The TP Link HS220 dimmer has a “feature” that remembers the brightness of the last use.
https://community.tp-link.com/us/home/forum/topic/159997
Last “On” state will trigger the lights to go on at what ever the setting was last set to when they were turned on. For instance if you had the lights dimmed to 50% when last turned on. Then the next time they are triggered the lights will go on to that state.
Scenes can be set to turn on or off and for devices with additonal features light the light bulbs and dimmer switch you should have the addtional option of setting brightness or color depending on the device. If you are not getting the desired results please share a screen capture so we can see what is going on and help determine a resolution.
Thank you
My goal is to have the brightness set depending on the time/sun status. It’s in a bathroom and I’d like to have the brightness be 100% during daylight hours and then set to ~30% after 2000h. My thoughts were to set scenes with the different requested states and then automate the setting of the states with the various conditions.
You can set the brightness with the “preset” function on the phone app, and the next time the state is toggled the lights will use the selected brightness level.
Can a new async function be added to do something like async_set_brightness
https://github.com/home-assistant/core/blob/71a03c8ca5ec9201e94743b2c6e9dea73766709c/homeassistant/components/tplink/light.py#L168 that would allow a scene to be created for setting the brightness without turning on the dimmer switch at the same time?