|
问大家一下,是不是一个Esphome 配置就只支持一个cover,不能操作多个
cover:
- platform: template
name: "Cover_ChaShii"
open_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '1100001010011001100000000000010100110011'
protocol:
pulse_length: 350
sync: [14, 4]
zero: [1, 2]
one: [2, 1]
repeat:
times: 5
wait_time: 7500us
close_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '1100001010011001100000000000010100010001'
protocol:
pulse_length: 350
sync: [14, 4]
zero: [1, 2]
one: [2, 1]
repeat:
times: 5
wait_time: 7500us
stop_action:
- remote_transmitter.transmit_rc_switch_raw:
code: '1100001010011001100000000000010101010101'
protocol:
pulse_length: 350
sync: [14, 4]
zero: [1, 2]
one: [2, 1]
repeat:
times: 5
wait_time: 7500us
- platform: template #这个再接第二个窗帘,没办法在HA上显示,只显示一个
name: "Cover_ChaShii1"
. .....同上一配置
|
|