01.12.2018, 09:32
Hi,
Can it be that your bri value gets negative? You substract 30 from the current bri but when it’s smaller then 30 you should round it to max 0. That is not handled in your current script. Also needed for dimming up to maximize to 100.
BR,
Erwin
Can it be that your bri value gets negative? You substract 30 from the current bri but when it’s smaller then 30 you should round it to max 0. That is not handled in your current script. Also needed for dimming up to maximize to 100.
BR,
Erwin