mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 07:08:20 +00:00
[remote_base] Fix NEC tests
This commit is contained in:
parent
7f7f5d480b
commit
35ae5273b6
@ -20,13 +20,14 @@ button:
|
|||||||
address: ${nec_address}
|
address: ${nec_address}
|
||||||
command: ${nec_comamnd}
|
command: ${nec_comamnd}
|
||||||
- platform: template
|
- platform: template
|
||||||
name: NEC Default 1 Repeat
|
name: NEC Default 3 Repeats
|
||||||
id: living_room_lights_off_default_repeat
|
id: living_room_lights_off_default_repeats
|
||||||
on_press:
|
on_press:
|
||||||
remote_transmitter.transmit_nec:
|
remote_transmitter.transmit_nec:
|
||||||
address: ${nec_address}
|
address: ${nec_address}
|
||||||
command: ${nec_comamnd}
|
command: ${nec_comamnd}
|
||||||
repeats: 1
|
repeats: 3
|
||||||
|
type: frame_with_repeats
|
||||||
- platform: template
|
- platform: template
|
||||||
name: NEC Repeats Only
|
name: NEC Repeats Only
|
||||||
id: living_room_lights_off_repeats_only
|
id: living_room_lights_off_repeats_only
|
||||||
@ -35,7 +36,7 @@ button:
|
|||||||
address: ${nec_address}
|
address: ${nec_address}
|
||||||
command: ${nec_comamnd}
|
command: ${nec_comamnd}
|
||||||
repeats: 10
|
repeats: 10
|
||||||
type: repeat
|
type: repeats_only
|
||||||
- platform: template
|
- platform: template
|
||||||
name: LG
|
name: LG
|
||||||
on_press:
|
on_press:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user