1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Add Toto protocol to remote receiver and transmitter (#8177)

This commit is contained in:
G-Two
2025-02-07 00:08:06 -05:00
committed by GitHub
parent 7e626b04f2
commit 9e3359cdf2
5 changed files with 237 additions and 28 deletions

View File

@@ -142,3 +142,8 @@ on_mirage:
then:
- lambda: |-
ESP_LOGD("mirage", "Mirage data: %s", format_hex(x.data).c_str());
on_toto:
then:
- logger.log:
format: "on_toto: %u %u %u"
args: ["x.rc_code_1", "x.rc_code_2", "x.command"]

View File

@@ -190,3 +190,10 @@ button:
channel: 1
button: 1
check: 1
- platform: template
name: Toto
on_press:
- remote_transmitter.transmit_toto:
command: 0xEC
rc_code_1: 0x0D
rc_code_2: 0x0D