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

Mirage remote receiver & transmitter (#6479)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
heggi
2024-05-16 03:35:17 +04:00
committed by GitHub
parent ebfccc64c7
commit 08509f7755
6 changed files with 174 additions and 0 deletions

View File

@@ -143,6 +143,10 @@ remote_receiver:
- logger.log:
format: "on_toshiba_ac: %llu %llu"
args: ["x.rc_code_1", "x.rc_code_2"]
on_mirage:
then:
- lambda: |-
ESP_LOGD("mirage", "Mirage data: %s", format_hex(x.data).c_str());
binary_sensor:
- platform: remote_receiver

View File

@@ -142,6 +142,10 @@ remote_receiver:
- logger.log:
format: "on_toshiba_ac: %llu %llu"
args: ["x.rc_code_1", "x.rc_code_2"]
on_mirage:
then:
- lambda: |-
ESP_LOGD("mirage", "Mirage data: %s", format_hex(x.data).c_str());
binary_sensor:
- platform: remote_receiver