build/bedroom-atom-echo/media | ||
common | ||
devices | ||
.gitattributes | ||
.gitignore | ||
bathroom-lightswitch.yaml | ||
bedroom-atom-echo.yaml | ||
bedroom-bluetooth.yaml | ||
bedroom-lamp.yaml | ||
bedroom-lightswitch.yaml | ||
cloakroom-lightswitch.yaml | ||
ensuite-lightswitch.yaml | ||
green-wax-melt.yaml | ||
grey-wax-melt.yaml | ||
hall-by-front-door.yaml | ||
heated-blanket.yaml | ||
heating-downstairs.yaml | ||
heating-upstairs.bac | ||
heating-upstairs.yaml | ||
kitchen.yaml | ||
landing-lightswitch.yaml | ||
lounge-by-garden.yaml | ||
lounge-by-hall.yaml | ||
lounge-lamp.yaml | ||
lounge-light-1.yaml | ||
lounge-light-2.yaml | ||
man-cave-desk.yaml | ||
man-cave-lightswitch.yaml | ||
office-atom-echo.yaml | ||
README.md | ||
spare-room-lamp.yaml | ||
spare-room-lightswitch.yaml | ||
tv-switch.yaml |
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
.