Commit Graph

26 Commits

Author SHA1 Message Date
Edward Firmo
e69873cab5 Create standard package 2024-12-27 01:42:41 +01:00
Edward Firmo
81c6620fbf Split files even more 2024-12-25 23:01:33 +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
9fec812b66 New LED mapping for 4-Gang US model 2024-12-24 09:59:54 +01:00
Edward Firmo
269ba89bd3 New LED mapping for US 3-Gang
Partially solves #67
2024-12-24 09:49:14 +01:00
Edward Firmo
6230e31323 Fix inconsistent restore mode variable usage
As suggested by CodeRabbitAI
2024-12-23 18:34:05 +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
dc99319397 Fix relay id on log 2024-12-23 00:46:06 +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
96db05cc34 Fix typo 2024-12-21 00:24:02 +01:00
Edward Firmo
9bf6eff7d6 CodeRabbitAI 2024-12-20 23:59:59 +01:00
Edward Firmo
d0b8ba55ba Clean-up logs
The less the more
2024-12-20 22:32:59 +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
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
13722eccd0 Reorg relays 2024-12-19 20:30:55 +01:00
Edward Firmo
51bf0dceab Reorg led select 2024-12-19 20:20:05 +01:00
Edward Firmo
01293fd62d Review effects 2024-12-19 20:13:17 +01:00
Edward Firmo
3f86f7dee9 Reorg led files 2024-12-19 20:11:52 +01:00