Commit Graph

19 Commits

Author SHA1 Message Date
Edward Firmo
248f7e9cd8 Use substitutions instead 2024-12-23 18:28:58 +01:00
Edward Firmo
6343e6eb4a Restore light state on boot
Trying to solve #47
2024-12-23 18:21:32 +01:00
Edward Firmo
f2ff037c82 Add a bit more verbose logs 2024-12-23 11:59:26 +01:00
Edward Firmo
82af8b6687 Fix relay toggle when button action is set to none
Solves #59
2024-12-23 11:48:31 +01:00
Edward Firmo
4ea7f1ee57 New event handler
This rebuild the engine to send events to Home Assistant
2024-12-23 03:55:50 +01:00
Edward Firmo
5ae45fff63 Fix relay on display as light mode
Solves #28
2024-12-23 00:41:51 +01:00
Edward Firmo
ee8ff66add Removed LED auxiliary files
Using YAML anchors instead.
It makes it cleaner and easier to understand.
2024-12-21 08:54:41 +01:00
Edward Firmo
e0a5ea1cc8 Do not toggle if other action is on place
Helps with #18
2024-12-20 20:39:19 +01:00
Edward Firmo
da83c0749b Lint 2024-12-20 18:14:29 +01:00
Edward Firmo
ffe0d56576 Lint 2024-12-20 18:13:02 +01:00
Edward Firmo
b1b1a40d5e New implementation of show_relay_status
Solves #28
I believe this also solves #21
2024-12-20 18:07:17 +01:00
Edward Firmo
cc5858be8b Lint 2024-12-20 02:10:33 +01:00
Edward Firmo
59da9bcb96 Wait for initialization to complete before update relay status
That was crashing that method right after boot.

- Solves #28
2024-12-20 02:08:49 +01:00
Edward Firmo
62e4e3d511 More CodeRabbitAI suggestions 2024-12-19 23:52:21 +01:00
Edward Firmo
e9890c937e CodeRabbitAI suggestions 2024-12-19 23:39:32 +01:00
Edward Firmo
2e15149d3d Clean-up buttons 2024-12-19 21:11:55 +01:00
Edward Firmo
2f92e874b3 Clean-up relay mode select 2024-12-19 20:45:31 +01:00
Edward Firmo
13722eccd0 Reorg relays 2024-12-19 20:30:55 +01:00
Edward Firmo
b6d9ae5a96 Split files
To improve readability and increase my chances to have more people collaborating with this project.

Solves #27
2024-12-19 19:35:46 +01:00