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

Data template for brightness

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



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