README.md
My ESPHome Config
ESPHome is a project for controlling ESP8266 and other similar chips. These are commonly used in Chinese smart devices.
This firmware works very well with Home Assistant which is why I use it.
Smart Bulbs
I currently use the BlitzWolf_BW LT21 bulbs. The ones I bought all came with an old version of the Tuya firmware which allowed me to use Tuya Convert to flash them without the need to take them apart.
Wall Switches
I currently use the Sonoff T1 switches with varying numbers of buttons.
In order to differentiate between single, double and hold clicks, I don't publish the internal binary sensor state (on of off). Instead I create a text sensor that can have the states of "single", "double", "hold" or "" (empty string).
In order to use this as a home assistant trigger, I do set Trigger Type
to
state
, then the entity is the name of the text sensor.
I leave from
and for
blank, and set to
to single
, double
, or hold
.