@heartkingz wrote:
Hi,
I have a socket switch in my wall which i have swapped for a custom made blind plate like so:
The blind plate is touch sensitive and super easy to use. The sensor is connected to a Wemos D1 Mini with ESPHome. It runs great!
Right now i am only using it to turn on or off the light, but i’d like to be able to increase/decrease the brightness from that one switch.
I hope someone can help me create a data template to do the following:
If the touch sensor is pressed within a second: light toggles
If the touch sensor is pressed longer than 1 second: the light increases, if i let go and touch the sensor for another second, the light decreases.
I am able to create the automation for toggle, and for only increase or decrease brightness, but not for both.
I hope someone can help me!Thank you in advance!
Posts: 6
Participants: 3