22 Commits

Author SHA1 Message Date
3df8f48538 add generic callback struct and use it for brightness and hourFormat24 2025-02-10 13:15:24 +01:00
f10c456f68 encapsulate hourFormat24 under a struct 2025-02-10 13:15:24 +01:00
dbaae667ec remove unused incremental increase/decrease of brightness 2025-02-10 13:15:16 +01:00
6e608da1f0 move brightness defines inside the struct 2025-02-10 11:12:02 +01:00
4e9f6c1116 make Brightness a class instead of namespace 2025-02-10 11:12:02 +01:00
b90a190504 small improvement 2025-02-10 11:07:11 +01:00
06fd7ad3cd pass parameter with current timer to timerCallback 2025-02-10 09:33:23 +01:00
d123fe06ea expose button to control displaying of remaining timer 2025-02-10 09:33:23 +01:00
67355c7122 expose sensor with remaining timer 2025-02-10 09:33:23 +01:00
e6ef1bb8b9 change exposed name of the timer duration 2025-02-10 09:32:25 +01:00
b7b8fc603d add timer and expose:
- duration
- start/stop switch
On start, it will display the remaining time instead of the watch
2025-02-10 09:31:52 +01:00
cf581bc03e upgrade to ha-mqtt v1.5.1 - calling withStateTopic() and restoreFromState() is redundant 2025-02-10 09:31:13 +01:00
f7ba499292 change led type to light 2025-02-03 19:12:31 +01:00
8e50f89a72 display date 2024-12-22 15:56:25 +01:00
a2e6469903 upgrade to ha-mqtt v1.4.0 2024-10-28 16:42:49 +01:00
400acd8d5f upgrade to ha-mqtt 1.3.0 and add included diagnostic sensors 2024-10-09 11:04:24 +02:00
2206819965 change decimal precision to 1 for temperature, humidity and pressure 2024-06-30 14:01:08 +02:00
b426988c43 add MQTT button for updating time 2024-06-29 13:13:33 +02:00
858d13c9a7 simplify wifi and make it more generic 2024-06-02 21:27:21 +02:00
16647d1f88 display sensor values only once on startup 2024-06-02 21:24:15 +02:00
b02c731e95 use blue led to indicate status of MQTT connectivity 2024-06-01 13:10:50 +02:00
348e2694db switch to ha-mqtt library, remove altitude 2024-05-30 08:27:56 +02:00