Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 108706

Control brightness by from_state and to state

$
0
0

Hello,

I have found the solution of my last project but now I would like to control the light brightness’s with an automatisation. It will look like to:

When: sensor.lightsensor_eclairement state changed from 7lux

Action: light turn on at 6500 kelvin and the brightness step is 1% or -1% (depending if brightness is decreasing or increasing)

But I dont know how to arrive to write it, using trigger from_state and trigger.to_state to calcul if the brightness is increasing or decreasing

Thank you for your help

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 108706

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>