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
a716e8e9cf
Change media player fmt to msb
2024-12-24 00:22:52 +01:00
Edward Firmo
d77d761497
Add speaker to BLE Proxy add-on
2024-12-24 00:00:26 +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
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
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
f9e9243de5
Specify device when setting gang count
2024-12-23 04:31:16 +01:00
Edward Firmo
be6a4a51e2
Use set_gang_count
2024-12-23 04:24:50 +01:00
Edward Firmo
2a8255b788
Use long_press and not long_click
2024-12-23 04:16:28 +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
552b83f065
Re-add button ids on substitutions
2024-12-23 01:03:51 +01:00
Edward Firmo
aa4e27ec35
Merge branch 'relay-on-light-mode' of https://github.com/edwardtfn/TX-Ultimate-Easy into relay-on-light-mode
2024-12-23 00:53:37 +01:00
Edward Firmo
ddea93af6a
Merge branch 'main' into relay-on-light-mode
2024-12-23 00:50:29 +01:00
Edward Firmo
dc99319397
Fix relay id on log
2024-12-23 00:46:06 +01:00
Edward Firmo
5ae45fff63
Fix relay on display as light mode
...
Solves #28
2024-12-23 00:41:51 +01:00
Edward Firmo
be0fc353f6
Simplify relay handler
2024-12-22 02:03:35 +01:00
Edward Firmo
fbc5cb79cc
Reduce BUTTON_MULTI_CLICK_DELAY to 250ms
2024-12-22 01:46:28 +01:00
Edward Firmo
c65acc3298
Pass parameters to button_click_event
2024-12-22 01:37:07 +01:00
Edward Firmo
4d8107faf2
Remove relay from binary sensor
2024-12-22 01:15:26 +01:00
Edward Firmo
8c610a406a
Log long-press from component
...
If this works fine, it could replace this part on the new implementation.
2024-12-21 23:17:42 +01:00
Edward Firmo
5ae4564e6a
CodeRabbitAI Nitpick 2
2024-12-21 22:08:19 +01:00
Edward Firmo
857c43940d
CodeRabbitAI Nitpick
2024-12-21 21:54:54 +01:00
Edward Firmo
8668fe8dc9
Fix another bad reference
2024-12-21 21:29:05 +01:00
Edward Firmo
35cc0c4a8e
Reorganize scripts for better clarity
2024-12-21 21:18:54 +01:00
Edward Firmo
5c4581563e
Rebuild Button click engine
...
The native engine from ESPHome cannot be used here as a button press event is triggered on touch, which would trigger the click even on swipe.
Other projects solved this by tracking only single click and only at release, so we decided to implement this in a different way, so we can handle multiple or long-clicks also.
This should finally solve #14 , but some test is required to ensure nothing else was broken.
2024-12-21 21:14:41 +01:00
Edward Firmo
f02f90c3fa
Testing new versioning
2024-12-21 11:05:40 +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
82b6d8cb25
Lint
2024-12-20 22:38:05 +01:00
Edward Firmo
d0b8ba55ba
Clean-up logs
...
The less the more
2024-12-20 22:32:59 +01:00
Edward Firmo
8f4a2a9402
Device name from App
2024-12-20 21:23:28 +01:00
Edward Firmo
55cde35d31
Publish device name only at boot and api connection
2024-12-20 21:00:24 +01:00
Edward Firmo
e1b8469aa5
Remove sun platform
...
It isn't in use yet
2024-12-20 20:51:52 +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
b1dbda4efe
Remove references to Blueprint in the README
...
Solves #30
2024-12-20 02:31:12 +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
c62e7a689c
Use version as reference for component
2024-12-20 00:21:39 +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
3412e2389a
Test with Beta
2024-12-19 21:25:58 +01:00
Edward Firmo
a4eff7276a
Lint
2024-12-19 21:17:46 +01:00
Edward Firmo
7c04d152a0
Lint
2024-12-19 21:15:18 +01:00