change switch to button
This commit is contained in:
parent
5f31d8b191
commit
da00e75d1c
1 changed files with 10 additions and 6 deletions
16
config.yaml
16
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:
|
||||
|
|
Loading…
Reference in a new issue