Part 3 - Bathroom Mirror with Light
Part 3 - Bathroom Mirror with Light
https://chochol.io/wp-content/uploads/2024/01/Add-a-little-bit-of-body-text.png
display:
platform: tm1637
clk_pin: GPIO17
dio_pin: GPIO16
update_interval: 500ms
lambda: |-
auto white = Color(255, 255, 255);
static int i = 0;
i++;
if ((i % 2) == 0)
it.strftime("%H.%M", id(homeassistant_time).now(),white);
else
it.strftime("%H%M", id(homeassistant_time).now());
useful links
Installing mirror lighting on ESPHome
https://chochol.io/en/smart-home/home-assistant-installing-mirror-lighting-on-esphome/
Comments
Comments are closed