From da00e75d1cb2cc8966a9beacac32f7a74e9937c5 Mon Sep 17 00:00:00 2001 From: subDesTagesMitExtraKaese Date: Sun, 14 Jul 2024 23:40:58 +0200 Subject: [PATCH] change switch to button --- config.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/config.yaml b/config.yaml index 706fe40..b080dfe 100644 --- a/config.yaml +++ b/config.yaml @@ -38,21 +38,25 @@ time: - ptbtime2.ptb.de - ptbtime3.ptb.de -switch: +button: - platform: template name: Casio Power Button - turn_on_action: + on_press: - remote_transmitter.transmit_nec: - address: 0x84f4 - command: 0x0bf4 + address: 0xF484 + command: 0xF40B command_repeats: 3 - platform: template name: "Monitor An/Aus" - turn_on_action: + on_press: - remote_transmitter.transmit_lg: data: 0x02FD48B7 # power on/off nbits: 32 - + - platform: template + name: "Ventilator An/Aus" + on_press: + - remote_transmitter.transmit_pronto: + data: "0000 006D 0018 0000 002E 0013 002E 0013 000E 0034 002D 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0117 002E 0013 002E 0013 000E 0034 002E 0013 002E 0013 000E 0034 000D 0034 000D 0034 000D 0034 000D 0034 000D 0034 002E 0181 06C3" remote_receiver: pin: