Edward Firmo
81c6620fbf
Split files even more
2024-12-25 23:01:33 +01:00
Edward Firmo
5ddf5388bd
Handle unknown states
2024-12-25 03:00:56 +01:00
Edward Firmo
7aee88c38f
CodeRabbitAI suggestions
2024-12-25 02:34:18 +01:00
Edward Firmo
e546fedf08
Add dump config
...
To help troubleshooting
2024-12-25 02:11:10 +01:00
Edward Firmo
bcf4396c6f
Split boot_initialize_relays script
2024-12-25 00:01:57 +01:00
Edward Firmo
403cdce2b5
Expose relay-indicator LEDs
...
The lights will be available on Home Assistant, so users will be able to set it's color and brightness, then this will be used when the relay turn on-off as the indicator for the relay status.
Resolves #57
2024-12-24 23:31:50 +01:00
Edward Firmo
a44e486411
Add Id to Wi-Fi component
2024-12-24 01:23:29 +01:00
Edward Firmo
c4b2b8917f
Consider disconnected if wifi is disconnected
...
Trying to detect a disconnection earlier.
2024-12-24 01:17:00 +01:00
Edward Firmo
60a3248c6b
Adds "Relay n (API failsafe only)" to button's actions
...
Solves #23
2024-12-23 20:30:32 +01:00
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