||8 months ago|
|.gitattributes||8 months ago|
|.gitignore||8 months ago|
|README.md||8 months ago|
|bedroom-celing-light.yaml||8 months ago|
|bedroom-lamp.yaml||8 months ago|
|bedroom-switch.yaml||8 months ago|
|hall-celing-light.yaml||8 months ago|
|hall-switch-1.yaml||8 months ago|
|kettle.yaml||8 months ago|
|kitchen-lamp.yaml||8 months ago|
|kitchen-switch.yaml||8 months ago|
|lounge-arch.yaml||8 months ago|
|lounge-celing-light.yaml||8 months ago|
|lounge-light-1.yaml||8 months ago|
|lounge-light-2.yaml||8 months ago|
|lounge-switch.yaml||8 months ago|
|secrets.yaml||8 months ago|
|study-celing-light.yaml||8 months ago|
|study-switch.yaml||8 months ago|
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.
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.
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.
for blank, and set