-
Autor
Hi,
i need some help .
how to write a basic script for Shelly dimmer2
event would be something like this:
turn on light on pushswitch/through app
check dimmer brightness %
if "brightness is in range 70% - 95% " 1st long hold-push action to dimm should lower brightness
if "brigtness is in range 69%-10% " 1st long hold-push action to dimm should increase brightness <-- this is already by default as it always increases brightness no matter the %
if possible i would also like to to add max brightness 95%
if possible i would also like to add min brightness to 10%
Or is there any other way i can create a function like this?
Looking foward to your reply.