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
Edward Firmo
2e15149d3d
Clean-up buttons
2024-12-19 21:11:55 +01:00
Edward Firmo
818c6067e0
Bump to v0.0.4
2024-12-19 20:46:19 +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
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
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
Edward Firmo
7e46ecb1b3
Fix led mapping on US model
...
Tentatively solves #29
2024-08-29 18:15:09 +02:00
Edward Firmo
2091fc4623
Do not toggle relay with multi-touch or swipe
...
Solves #14
2024-07-26 08:33:30 +02:00
Edward Firmo
1c8f47d508
Bump to v0.0.2
2024-06-20 00:26:34 +02:00
Edward Firmo
f1e0385f4e
Lint
2024-06-19 09:29:29 +02:00
Edward Firmo
d4cfaaee87
Clean-up
2024-06-19 08:54:49 +02:00
Edward Firmo
55ede52dd2
Update TX-Ultimate-Easy-ESPHome_core.yaml
...
Solves #20
I will use this picture as a reference:

Currently, when using a 3-gang device, the following LEDs are currently in use:
| Button/Relay | LED<br>Bottom | LED<br>Top |
| :--: | :--: | :--: |
| 1 | 12 | 22 |
| 2 | 10 | 24 |
| 3 | 8 | 26 |
I will change to the following:
| Button/Relay | LED<br>Bottom | LED<br>Top |
| :--: | :--: | :--: |
| 1 | 13 | 21 |
| 2 | 10 | 24 |
| 3 | 7 | 27 |
2024-06-12 18:13:38 +02:00
Edward Firmo
464394e15b
Fix num gangs selection on boot
2024-06-12 17:01:52 +02:00