homeassistant:
customize:
sensor.temp_show:
friendly_name: 设定的温度
icon: mdi:temperature-celsius
sensor.volume_show:
friendly_name: 设定的风量
icon: mdi:fan
sensor.timing_show:
friendly_name: 设定的定时
icon: mdi:camera-timer
script.ac_cancel_timing:
friendly_name: 定时取消
icon: mdi:timer-off
group:
airconditioner_control:
view: no
name: '空调控制面板'
control: hidden
entities:
- input_select.select_rooms_ac
- input_select.select_mode_ac
- input_number.airconditioner_temp
- input_number.airconditioner_volume
- input_select.select_function_ac
- input_number.airconditioner_timing_on
- input_number.airconditioner_timing_off
# - script.ac_cancel_timing
- sensor.temp_show
- sensor.volume_show
- sensor.timing_show
input_select:
select_rooms_ac:
name: '选择空调:'
options:
- Select Rooms
- 客厅
- 书房
- 儿童房
- 睡房
initial: Select Rooms
icon: mdi:air-conditioner
select_mode_ac:
name: '选择模式:'
options:
- Select Mode
- 关闭空调
- 制冷模式
- 制热模式
- 除湿模式
- 自动模式
initial: Select Mode
icon: mdi:settings
select_function_ac:
name: '选择功能:'
options:
- Select Function
- 强力运转
- 舒适气流
- 送风
- 极速运转
- 水平风
- 垂直风
- 立体气流
initial: Select Function
icon: mdi:apple-keyboard-command
input_number:
airconditioner_temp:
name: '空调温度'
icon: mdi:thermometer-lines
initial: 24
min: 18
max: 32
step: 1
airconditioner_volume:
name: '空调风量'
icon: mdi:weather-windy
initial: 7
min: 1
max: 7
step: 1
airconditioner_timing_on:
name: '定时开机'
icon: mdi:timer
initial: 0
min: 0
max: 12
step: 1
airconditioner_timing_off:
name: '定时关机'
icon: mdi:timer
initial: 0
min: 0
max: 12
step: 1
sensor:
- platform: template
sensors:
temp_show:
unit_of_measurement: "°C"
value_template: '{{states.input_number.airconditioner_temp.state|round(0)}}'
entity_id:
- input_number.airconditioner_temp
volume_show:
unit_of_measurement: "级"
value_template: '{{states.input_number.airconditioner_volume.state|round(0)}}'
entity_id:
- input_number.airconditioner_volume
timing_show:
value_template: '{{states.input_number.airconditioner_timing_on.state|round(0)}}小时后开、{{states.input_number.airconditioner_timing_off.state|round(0)}}小时后关'
entity_id:
- input_number.airconditioner_timing_on
- input_number.airconditioner_timing_off
automation:
- id: airconditioner_set_temp
alias: airconditioner_set_temp
trigger:
- platform: state
entity_id: input_number.airconditioner_temp
action:
- service: script.turn_on
data_template:
entity_id:
- script.ac_temp_{{ states.input_number.airconditioner_temp.state | int }}
- id: airconditioner_set_mode
alias: airconditioner_set_mode
trigger:
- platform: state
entity_id: input_select.select_mode_ac
action:
- service: script.turn_on
data_template:
entity_id: >
{% if trigger.to_state.state == '关闭空调' %}
script.ac_mode_close
{% elif trigger.to_state.state == '制冷模式' %}
script.ac_mode_cold
{% elif trigger.to_state.state == '制热模式' %}
script.ac_mode_heat
{% elif trigger.to_state.state == '除湿模式' %}
script.ac_mode_dry
{% elif trigger.to_state.state == '自动模式' %}
script.ac_mode_auto
{% endif %}
- id: airconditioner_set_volume
alias: airconditioner_set_volume
trigger:
- platform: state
entity_id: input_number.airconditioner_volume
action:
- service: script.turn_on
data_template:
entity_id:
- script.ac_volume_{{ states.input_number.airconditioner_volume.state | int }}
- id: airconditioner_set_function
alias: airconditioner_set_function
trigger:
- platform: state
entity_id: input_select.select_function_ac
action:
- service: script.turn_on
data_template:
entity_id: >
{% if trigger.to_state.state == '强力运转' %}
script.ac_function_1
{% elif trigger.to_state.state == '舒适气流' %}
script.ac_function_2
{% elif trigger.to_state.state == '送风' %}
script.ac_function_3
{% elif trigger.to_state.state == '极速运转' %}
script.ac_function_4
{% elif trigger.to_state.state == '水平风' %}
script.ac_function_5
{% elif trigger.to_state.state == '垂直风' %}
script.ac_function_6
{% elif trigger.to_state.state == '立体气流' %}
script.ac_function_7
{% endif %}
- id: airconditioner_set_timing
alias: airconditioner_set_timing
trigger:
- platform: state
entity_id:
- input_number.airconditioner_timing_on
- input_number.airconditioner_timing_off
action:
- service: script.turn_on
data_template:
entity_id:
- script.ac_timing_on_{{ states.input_number.airconditioner_timing_on.state | int }}
- script.ac_timing_off_{{ states.input_number.airconditioner_timing_off.state | int }}
script:
ac_cancel_timing:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODg4PDg4OAAM8cjkOKg4PDg4ODg4rDg4NDw4PDg4NLA4ODisOKg4PDSsOKw4rDioOKw4ODg8NKw4PDg4ODg4PDg4NDw4PDg4ODg4PDg4ODg4PDg4NDw4ODg4PDg4rDg4ODg4PDioOKw4ODg8ODg4ODSwODg4rDioPDg0PDg4PDg4ODQ8ODw0PDg4ODw4qDisOKg8qDg8ODg0rDw4NKw4rDisOKg4PDg4ODg4PDg4ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8NDw4ODg8ODg0PDg8NDw4ODg4ODw0PDg4NEA4ODg4ODw4ODg4ODw4ODg4ODw0PDQ8ODg4PDg4OKw4ODisODg4ODg8OKg4rDg4NDw0QDg4OKw4ODg4NEA4ODg4ODg4PDg4ODg4PDg4ODg4rDg4OKw4ODisODg4rDgANBQAAAAA="
ac_timing_on_0:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARALEQ4ODg4ODg8OAAM8cjkOKg4PDg4ODg4rDg4ODw4ODg4OKw4ODSwOKw4ODisOKg4rDisOKg8ODQ8OKw4ODg4ODw4ODg4ODw4ODg4NEA4ODQ8NEA4ODQ8ODw4ODg4ODw4ODg4ODw4ODSsPKg4ODg8ODQ8rDg4ODg4rDisODg4NDw8ODg0PDRAODg4ODg8ODg4ODg4ODw4ODg4OKw4ODisNDw4PDg4ODg0QDQ8NDw0PDg8ODg0PDg8ODg4ODg8ODg4ODg8ODg4ODg4PDg0PDg4PDg0PDQ8ODg4PDg4ODw4ODg4ODw4ODg4ODw4ODg4ODg4PDQ8ODg4PDg4NDw4PDg4NKw8ODSsPDg4ODg4OKw0sDg4NDw4PDg4NKw8ODg4ODg4PDg4ODg0QDg4ODg4PDg4OKw4ODg4NLA4ODSwOKg4rDgANBQAAAAA="
ac_timing_on_1:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODQ8NAAM+czkOKg8ODg4ODw4qDg8ODg4ODg8OKg4PDioOKw4ODisOKg8qDisOKg4PDg4OKw4ODg4ODw0PDg4ODw4ODg4ODw4ODg4ODw4ODg4ODw0PDg4ODw4ODSwODg4ODisOKg8ODg4NDw8qDg4ODw4qDisODg4PDg4ODg4PDQ8ODg4PDg4ODg4PDg4ODg4ODw4OKg4PDioODw4ODg4ODw4ODg4ODw4ODg4ODw4qDisOKg8qDg8NDw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4NEA0PDg4NEA0PDg4ODg8ODg4ODg4PDg4ODg4PDg4OKw4ODisODg4ODg8NKw4rDg4ODg4PDg4ODg4PDg4ODg4PDg4NDw4PDg4NDw4PDg4OKg8qDisODg4rDg4ODg4PDgANBQAAAAA="
ac_timing_on_2:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODQ8ODw4ODg4NAAM/cjkOKw4ODg4NEA4qDg8ODg0PDg4PKg4ODisOKw0PDisOKg4rDisOKg8ODg4NLA4ODQ8ODw0PDg4ODw4ODg4NEA4ODg4ODw4ODg4ODw4ODQ8ODg8ODSsPDg4ODisOKg4PDg4NDw4rDg4ODw0rDisODg4PDg4ODg4ODw4NDw4ODg8ODg4ODg8ODg4ODg8OKg4PDSsODw0PDQ8ODw4ODg4ODg4PDg4ODg4PDioOKw4rDioODw4ODg4ODw0PDg4ODw4ODQ8NEA4ODg4ODw4ODg4ODw0PDg4ODw0PDg4ODg8ODg4ODg4PDg4ODg0QDQ8NDw4PDg4OKw4ODisODg0PDQ8OKw4rDg4ODg4PDg4ODg0QDg4ODg4PDg4ODg4PDQ8NDw4ODg8OKg8qDg4ODg8qDg8NKw4ODwANBQAAAAA="
ac_timing_on_3:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8NDw4NDw4PDg4NAAM/cjkOKg8ODg4ODw0rDg4ODw4ODg4PKg4ODisOKw4ODSwOKg8qDisOKg4PDQ8NLA4ODg4PDg4ODQ8ODw0PDg4ODw4ODg4ODw4ODg4ODw0PDQ8ODw4ODisODg0PDisOKw4ODg4ODw0rDg8NDw0sDioODw0PDg4ODw4ODg4ODg4PDg4NDw4PDg4ODg4PDg4OKw4ODisODg4ODg8NDw4ODg8NDw4ODg8ODg4qDw4NKw8qDg4OKw4ODg8ODg0PDRAODg4ODg8NDg8ODg8ODg0PDg8NDw4ODQ8ODw0PDg4ODw4ODQ8NEA4ODQ8NEA4ODg4ODw0PDg4NLA4ODisODg4ODg8OKg4rDg4ODw4ODg4NDw8ODg4ODg4PDg4ODg4PDg4ODg4PDg0OLA4qDisOKg4PDg4ODg0sDgANBQAAAAA="
ac_timing_on_4:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4NDw4PDQ8OAAM/czgOKw0PDg8ODg0sDg4ODg0QDg4OKg8ODioPKg4NECoOKw4qDyoOKw4ODg4OKw0PDg8NDw4ODg8ODg4ODg8ODg0PDg8ODg4ODg8NDw4ODg8ODg4ODSwODg4PDioOKw4ODg4ODw4qDw4ODg0sDioODw4ODQ8ODw4ODg4NDw4PDg4ODw0PDg4ODQ8PDg4NLA4ODisODg0PDRAODg4ODg8NDw4ODRAODg4rDioODw0rDg4ODw4qDw4NDw0PDg8NDw4ODg8ODg0PDg8ODg4ODg8ODg4ODg8NDw4ODg8ODg4ODg8ODg4ODg8NDw4ODg4ODw4ODQ8OKw4ODisODg4PDg4OKw4qDg8ODg4ODg8ODg4ODg4ODw0PDg4ODw4ODg4ODw4ODg4ODw4ODg4OKw0PDQ8PDg4ODgANBQAAAAA="
ac_timing_on_5:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4NDw4PDQ8OAAM/czgOKw0PDg8ODg0sDg4ODg0QDg4OKg8ODioPKg4NECoOKw4qDyoOKw4ODg4OKw0PDg8NDw4ODg8ODg4ODg8ODg0PDg8ODg4ODg8NDw4ODg8ODg4ODSwODg4PDioOKw4ODg4ODw4qDw4ODg0sDioODw4ODQ8ODw4ODg4NDw4PDg4ODw0PDg4ODQ8PDg4NLA4ODisODg0PDRAODg4ODg8NDw4ODRAODg4rDioODw0rDg4ODw4qDw4NDw0PDg8NDw4ODg8ODg0PDg8ODg4ODg8ODg4ODg8NDw4ODg8ODg4ODg8ODg4ODg8NDw4ODg4ODw4ODQ8OKw4ODisODg4PDg4OKw4qDg8ODg4ODg8ODg4ODg4ODw0PDg4ODw4ODg4ODw4ODg4ODw4ODg4OKw0PDQ8PDg4ODgANBQAAAAA="
ac_timing_on_6:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARAODg4ODg0QDQ8OAAM/cjkOKw4ODg8ODg4rDg4ODg4PDg4OKw4ODisOKg4ODyoOKw4qDyoOKw4ODg4OKw0PDg8NDw4ODg8ODg4ODRAODg4ODg8ODg4ODg8NDw4ODg8NDw4ODSwODg4ODisOKw4ODg4NEA0rDg8ODg4rDioODw4ODQ8NEA4ODg4NDw8ODg4ODg4PDg4ODg4PDg4NLA4ODisODg0PDg8ODg4ODg8NDw0PDg4ODw4ODisODg0sDioODw4qDg8NDw0PDg8ODg0PDg8ODg4ODRANDw0PDg8NDw4ODQ8PDg0PDQ8ODw4ODg4ODw4ODg4NEA4ODQ8ODw4ODQ8OKw4ODisODg0PDg8OKg4rDg4ODw4ODg4ODw4ODQ8ODw0PDg4ODg4PDg4ODg4PDg4ODg4PDSsODw4ODg4NLA4ODgANBQAAAAA="
ac_timing_on_7:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8NDw4NEA4ODQ8OAANAcToOKg4PDg4ODg4rDg4NEA4ODg4OKw4ODisOKg8ODioOKw4rDioOKw4ODg4PKg4PDg4ODg4PDg4NDw4PDQ8ODg4PDQ8NDw4ODg8ODg0PDg8ODg0PDisODg4PDioOKw4ODg8ODg4rDg4NDw4rDioPDg4ODg8NDw4ODQ8ODw0PDg4ODw4ODg4NEA4ODg4NLA4ODisODg0QDQ8ODg4ODg8NDw4ODg8ODg4rDg4ODg0sDg4NLA4rDg4ODg0PDg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8NDw0PDg4ODw4ODg4ODw4ODg4NEA4ODg4ODw0PDg4NLA4ODisODg0PDw4OKg4rDg4ODw4ODg4ODw4ODg4ODw0PDg4NDw8ODQ8ODw0PDQ8ODg4PDg4ODg4PDQ8NDw0sDgANBQAAAAA="
ac_timing_on_8:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARALEA4PDg4ODg4OAANBcTkOKg8ODQ8NDw4rDg4ODw0PDQ8OKw4ODyoOKw4ODisOKg4rDisOKg4PDg4OKw4ODg4ODw0PDg4ODw0PDg4NDw4PDg4ODg8ODg4NDw4PDg4NDw4PDioODw0PDSwNKw4PDg4NDw4rDg4ODw4qDisODg4ODw4NDw4ODg4PDg0PDg8ODg0PDg8ODg4ODg8OKg4NECoNEA4ODg4ODw0PDQ8ODg4PDg4ODg4ODw4NDw4rDisOKg4rDQ8ODw0PDg0PDw0PDg4ODBAPDQ8ODg0QDQ8ODg4PDg4ODg4PDQ8ODg4PDg4ODg4PDg4NDw4PDQ8ODg0PDg8OKg8ODioPDg4ODg4OKw4rDg4NDw0QDg4NDw4PDQ8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODisOKw4qDisODg0sDgANBQAAAAA="
ac_timing_on_9:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8MEA4NDw4PDQ8OAANAczkOKw4ODg4ODw4qDw4ODg0PDg8NKw4PDioOKw4ODisOKg8qDisOKg8ODg4OKw4ODQ8ODw4ODQ8ODw4ODg4ODw4ODg4ODg8ODg4ODg4PDg4ODg4PDioODw4ODisOKg4PDQ8ODg4rDg4ODw4qDisODg4PDQ8ODg4ODg8NDw4ODg8NDw4ODg8NDw4ODg8OKg4PDioODw0PDg4ODw4ODg4ODg4PDQ8NDw4rDisOKg4PDg4NDw4ODisODg4PDg4ODg0QDg4ODg0QDg4ODg4PDg4NDw0QDQ8ODg0PDg8NDw4ODg8ODg4ODg8NDw0PDQ8ODw4ODQ8PKg4ODSwODg4PDg4OKg4rDg4ODw4ODg4ODw4ODg4ODw0PDg4ODw4ODg4NDw4PDg4OKw0PDQ8OKw4qDyoNLA4qDgANBQAAAAA="
ac_timing_on_10:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODg8OAANBcjkOKg8ODg4NEA0rDg0QDg0PDg4OKw4PDSsOKw4ODisOKg4rDisOKg4PDg4OKw4ODg4ODw4ODQ8ODw0PDQ8ODw0PDg4ODw0PDg4ODg4PDg4ODg4PDioODw4ODisOKg4PDg4ODg0sDg4ODw4qDisODg4NEA4NDw0PDg8NDw4ODg8NDw4ODg8ODg4ODg8NKw4ODisODg4PDg4NDw4PDg4ODg4PDg4NDw4rDg4OKw4ODg4PKg4ODSwODg0QDg4NDw4PDQ8ODg4PDg4ODg4ODw4ODg0PDRAODg4ODg8ODg4ODg8ODg0PDg8NDw0PDg8NDw4ODg4OKw4ODisODQ8PDg4NLA4qDg8NDw4NDw8NDw4ODg4ODw4NDw4ODw4ODg4ODw4ODg4NLA4ODg4ODw4qDisOKg8ODgANBQAAAAA="
ac_timing_on_11:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODg8OAANBcjkOKg8ODg4NEA0rDg0QDg0PDg4OKw4PDSsOKw4ODisOKg4rDisOKg4PDg4OKw4ODg4ODw4ODQ8ODw0PDQ8ODw0PDg4ODw0PDg4ODg4PDg4ODg4PDioODw4ODisOKg4PDg4ODg0sDg4ODw4qDisODg4NEA4NDw0PDg8NDw4ODg8NDw4ODg8ODg4ODg8NKw4ODisODg4PDg4NDw4PDg4ODg4PDg4NDw4rDg4OKw4ODg4PKg4ODSwODg0QDg4NDw4PDQ8ODg4PDg4ODg4ODw4ODg0PDRAODg4ODg8ODg4ODg8ODg0PDg8NDw0PDg8NDw4ODg4OKw4ODisODQ8PDg4NLA4qDg8NDw4NDw8NDw4ODg4ODw4NDw4ODw4ODg4ODw4ODg4NLA4ODg4ODw4qDisOKg8ODgANBQAAAAA="
ac_timing_on_12:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8NDw8NDw4ODg8NAANCcjkOKw4ODg4ODw4qDg8ODg4NDw8OKg4PDioOKw4ODisOKg8qDisOKg4PDg4NLA4ODQ8ODw4ODQ8ODg4PDg4ODg4PDQ8NDw0QDQ8ODg4PDg0ODw4PDioODw4ODSwNKw4PDg4ODg4rDg4NDw8qDisODg4ODg8ODg4ODg8NDw4ODg8NDw4ODg8NDw4ODg4OKw4ODisODg4PDg4NDw4PDg4ODg4PDQ8ODg4ODw4OKg4PDSsPKg4ODisODg4PDg4ODg4ODg8ODg0PDg8ODg4ODg8ODg4ODRANDw0PDg8NDw4ODg4PDg0PDg4ODw0PDQ8ODw0PDg4OKw0PDisODg4PDQ8NKw4rDg4NEA4ODQ8ODw4ODg4ODw4ODQ8ODg4PDg4ODw0PDg0PKw4ODisOKg4PDioODw0rDgANBQAAAAA="
ac_timing_off_0:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDRAMEA0PDRAMAAM9cToNLA0PDRAMEA0rDRANDw0PDRANKw0QDSsNLA0PDSwNKw0sDSsOKw0QDQ8NKw4PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0sDQ8NEA0PDSsNLA0QDBANDw0QDCwNEAwsDSsODw0PDRANDw0PDRAMEA0PDRAMEA0rDSwNKw4rDRAMEA0rDRANKw0sDSsOKw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NKw4PDSsNEA0PDRAMLA0rDg8NDw0QDQ8NKw0QDQ8NEAwQDQ8NEAwPDg8NDw0QDQ8NDw0sDQ8NLA0PDSwNDw0rDgANBQAAAAA="
ac_timing_off_1:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8NDw0PDg8OAAM9cjkPKg4ODw4ODg4rDg4ODg4PDQ8NLA4ODisOKg4PDSsOKw4rDioOKw4ODg8NKw4PDg4ODg0QDg4ODg4PDQ8ODg4PDg4NDw4ODw4ODg4ODw4ODg4rDg4OKw4ODisOKg8ODg4ODg0QDioODw4qDisODg4PDg4NDw0QDg4ODg4PDQ8ODg4rDioPKg4rDg4ODg4rDg4OKw4rDioOKw4ODg8ODg4ODg8ODg4ODRAODg4ODRAODg0PDg8ODg4ODg4ODw4qDyoOKw4qDg8ODg4ODg8ODg4ODRAODg4ODg8ODg4ODRAODg0PDg4PDg4ODQ8PDg4ODg4PKg4ODisODg4PDg4OKw4qDg8ODg4ODg8ODg4ODg8ODg4ODQ8PDg4ODQ8ODw4ODg4OKw4ODg8ODg4ODisNLA4ODgANBQAAAAA="
ac_timing_off_2:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARAODg4ODg4PDg4NAAM+czgPKg4PDg4ODg4rDQ8ODg4PDg4OKw4ODisOKg4PDioOKw4rDioOKw4ODg8NKw4PDg4NDw4PDg4ODg4PDg4ODg0QDg4ODg4PDg4NDw4PDg4NDw4rDg4OKw0PDisOKg4PDQ8ODg4PDioODw4qDisODg4PDg4ODg4ODw4ODg4ODg8ODg4rDioOKw4rDg4ODg4rDg4OKw4qDyoOKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw0PDg4NDw8ODg4ODg4PDioOKw4rDioODw4ODg4ODw4ODg4ODg4PDg4ODg4PDg4NDw4PDg4NDw4PDg4ODg0PDg8OKg4PDioODw0PDQ8OKw4qDw4ODg0PDg8ODg4ODg8ODg4ODg8ODg4ODg4ODw4ODQ8OKw4ODisODg4PDioODw4ODgANBQAAAAA="
ac_timing_off_3:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4NEA4ODg4OAAM+cjkOKg8ODg4ODg4rDg4ODw4ODg4NLA4ODisOKg8ODioPKg4rDioOKw4ODg8OKg4PDg4ODg4PDQ8NDw4PDg4ODg4PDQ8NDw4ODw4ODg4ODw4ODg4rDg4OKw4ODioPKg4ODg8ODg4ODyoODg4rDisODg0PDg8ODg4ODg8ODg4ODg8ODg0rDyoOKw4qDg8ODg4rDg4OKw4qDisOKg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4NDw4PDQ8ODg4rDg4NLA4qDg8OKg4PDg4ODg4PDQ8ODg4PDQ8ODg0PDw4ODg4ODg8NDw0PDg8ODg4ODg8NKw4PDSsNDw4PDQ8OKw4qDg8ODg0PDg8ODg4ODg4PDg4ODg4ODw0PDg4ODw0PDg4OKw4ODg8OKg4PDSsOKw4qDgANBQAAAAA="
ac_timing_off_4:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODg8ODg4OAAM/czgOKw4ODg8ODg4qDw4ODg4ODg8OKg4PDioOKw4ODisOKw4qDisOKw4ODg4OKw4ODg8NDw4ODQ8ODw0PDg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4qDg8OKg4PDioOKw4ODg4PDg4ODisODg4rDioODw4ODg4ODw4ODg4ODw0PDg4ODg4rDisOKg4rDg4NEA4qDg8OKg4rDisOKg4PDg4ODg4PDQ8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg0PDg8OKg4rDioPKg4ODw4ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODQ8OKw4ODisNDw4PDQ8NLA4qDg8ODg0PDg8ODg4ODg4ODw4ODg4ODw4ODg4ODw0PDg4OKw4ODisOKg8ODSsODw4qDgANBQAAAAA="
ac_timing_off_5:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4OAAM/czkOKg4PDg4ODg4rDg4ODw4ODg4OKw4ODisOKg4PDioPKg4rDioPKg4ODg8OKg4PDg4ODg4PDQ8ODg4PDg4ODg4PDg4ODg4PDg4NDw4PDg4ODg4rDg4OKw4ODisOKg4PDQ8ODg0QDioODw0rDisODg4ODw4ODg4ODg8ODg4ODg8ODg0sDioOKw4qDw4ODg4rDg4OKw4qDisOKw4ODg4ODw4ODg4ODw4ODg4ODw0PDQ8ODg4PDg4ODg4PDg4ODg4rDioPDg4qDg8ODg0sDg4ODg4PDg4ODg4ODw4ODg4ODg8ODg4ODg8NDw4ODg8ODg4ODg4OKw4ODisODg4PDg4OKw4qDg8NDw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg4PDg4NDw4rDisOKg4PDQANBQAAAAA="
ac_timing_off_6:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARAKEQ4ODg4PDg4OAAM/cjkOKw4ODg8ODg4rDg4ODg4PDg4NLA4ODisOKg4PDSsOKw4qDyoOKw4ODg4OKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg0PDg8ODg4ODg8ODg4qDg8OKg4PDioOKw4ODg8NDw4ODisODg4rDioODw4ODg4ODw4ODg4ODw4ODg4NEA0rDisOKw4qDg8ODg4qDg8OKg4rDisOKg4PDg4ODg0QDQ8NDw4ODg8ODg4ODg8ODg4ODRAODg4ODg8ODg4ODisODg4rDioODw4qDg8ODg4ODg8ODg0PDg4PDg4ODQ8ODw4ODg4ODw4ODQ8ODw4ODg4OKw4ODisODg4ODg8OKg4rDg4ODw4ODg4ODw4ODg4ODw0PDg4ODg8ODg4ODg4PDQ8ODg4PDioODw4qDisODg4ODwANBQAAAAA="
ac_timing_off_7:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4OAANAcjkOKg4PDg4ODg0sDg4ODw4ODg4OKw4ODisOKg4PDioOKw4rDioOKw4ODg8OKg4PDQ8ODg4PDQ8ODg4PDg4ODg4PDg4ODg4ODg8ODg4ODg8ODg4rDg4OKw4ODioPKg4PDg4ODg4PDSsODg4rDisODg4ODg8ODg4ODg8NDw4ODg8ODg4qDisOKw4qDg8ODg4qDw4OKg8qDisOKg4PDg4ODg4PDg4ODg0QDg4ODg4PDg4ODg0QDg4ODg4ODg8ODg4rDg4ODg4rDg4OKw4qDg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8NDw4ODg4OKw4ODisODg4PDg4NKw8qDg4ODw4ODg4ODw4ODQ8ODw4ODg4ODg4PDg4ODg0QDg4ODg0QDg4OKg8qDisOKg4rDgANBQAAAAA="
ac_timing_off_8:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODQ8OAANBczgOKw4ODg8ODg0sDg4ODg4PDg4OKg8ODioPKg4ODisOKw4qDisOKw4ODg4OKw4ODRAODg4ODg8ODg4ODg8ODg4ODg4ODw4ODQ8ODw4ODg4ODw0rDg8OKg4PDioOKw4ODg4ODw4ODisODg0sDioODw4ODQ8ODw4ODg4ODw0PDg4ODg4rDisOKg4rDg4ODw4qDg4OKw4rDioOKw4ODg8ODg4ODg8ODg4ODg4ODw4ODg4ODw0PDg4NEA4ODQ8ODw4ODg4NDw4rDisOKg4rDg4ODg4PDg4ODg4PDg4NDw4PDg4ODg0QDg4ODg4PDQ8NDw4ODg8NKw4PDioODg8ODg4OKw4qDg8ODg4ODg8ODg0PDg8ODg0PDg4ODw4ODg4ODw4ODg4ODw4ODioPKg4rDSsODw4qDgANBQAAAAA="
ac_timing_off_9:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4NAANCczgOKw4ODg4ODw0rDg8ODg4ODg8OKg4PDioOKw4ODisOKg4rDioPKg4ODw4OKg4PDg4ODg4PDg4ODg4PDQ8ODg4PDg4ODg4PDQ8NDw4PDg4ODg4rDg4OKw4ODisOKg4PDg4ODg4ODyoODg4rDisODg4ODRAODg4ODRAODg4ODg4PDg4qDisOKw4qDg8ODg4qDw4OKg4rDisOKg4PDg4ODg4PDg4ODg4ODg8NDw4ODg8ODg4ODg8NDw4ODg4PDg4qDisOKw4ODQ8ODw4ODisODg4ODg4ODw4ODg4PDg4ODg4ODw0PDg4ODw4ODg4ODw0PDg4OKw4ODisODg4ODg8OKg4rDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg0QDg4ODg4PDg4OKg4rDisOKg4rDioOKw4ODgANBQAAAAA="
ac_timing_off_10:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8NDw4ODg8OAANAcjkPKg4ODg8ODg4rDg4ODg4PDg4OKw4ODisOKg4PDioOKw4qDyoOKw4ODQ8OKw4ODRAODg4ODg8ODg4ODg8ODg4ODg8NDw0PDg4ODw0PDg4ODw4qDg8OKg4PDioOKw4ODg4ODw4ODisODg4qDyoODg4PDQ8ODg8ODg4ODg4PDg4ODg4rDioPKg0sDg4ODg4rDg4OKw4qDyoOKw4ODg4ODw4ODQ8ODg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDioOKw4ODSwODg4ODisODg4PDg4ODg4PDg4ODg4ODg8ODg0PDg8ODg0PDg8ODg4ODg8OKg4ODyoODg4PDg4OKw4qDg8ODg4ODg8ODg4ODQ8ODw0PDQ8PDg4ODg4ODw4ODg4OKw4qDg8ODg4ODg8NKw4PDgANBQAAAAA="
ac_timing_off_11:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8NDw0PDg8OAANAczgPKg4ODg8ODg4rDg4ODg4PDg4OKg8NDyoPKg4ODisOKw4qDisOKw4ODg4OKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw0rDg8OKg4PDioOKw4ODg4ODw4ODisODg4qDyoODw4ODg4ODg8ODg4ODg8ODg4ODg4rDisOKg4rDg4NEA4qDg8OKg4rDioPKg4ODg8NDw4ODg8NDw4ODg8ODg4ODg8NDw4ODg4ODw4ODg4ODw0rDg8OKg4PDQ8OKg8ODioPDg0PDg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw0PDg4NLA4ODisODg4ODg8OKg4rDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4NDw4PDg4NKw8qDisODg4ODg8NDw4ODgANBQAAAAA="
ac_timing_off_12:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODg8OAANBcjgPKg4ODg8ODg0sDg4ODg4PDg4OKw4ODisOKg4PDSsOKw4qDisOKw4ODg4OKw4ODg8ODg4ODg8ODg4ODg4PDg4ODg4ODw4ODg4NEA0PDg4NEA4qDg8NKw4ODyoOKw4ODg4NEA4ODioPDg4qDyoODg4PDg4ODg4PDg4ODg4PDg4ODg4rDioPKg4rDg4ODg4rDg4OKw4qDisOKw4ODg4ODw4ODg4ODw0PDg4ODg4PDg4ODg4PDg4ODg4PDQ8ODg4PDg4OKg8ODioPKg4ODisNDw4PDQ8ODg4ODw4ODg4ODg8ODg4ODg8ODg4ODg8ODg0PDg4OKw4ODisODg0QDg4OKg4rDg4ODw4ODg4ODw4ODg4ODg4PDQ8NDw4PDg4ODg0QDg4OKg8qDg4OKw4ODRANKw4rDgANBQAAAAA="
ac_function_1:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARENDQ8NEAwQDQ8NAAM9cToNLA0PDRANDw0rDg8NDw0QDQ8NKw4PDSwNKw0QDSsNLA0rDisNLA0PDRANKw0QDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0sDQ8NEA0PDSsOKw0QDQ8NDw0QDQ8NDw0sDSsNEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0QDCwNKw4rDSwNKw4PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ4OEAwQDSsNEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NDw4PDQ8NLA0PDSwNDw0QDQ8NKw4rDQ8NEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0PDSwNKw4rDQANBQAAAAA="
ac_function_2:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODQ8NEA0PDRAMAAM9czgNLA0QDBANDw0sDQ8NEAwQDQ8NKw4PDSsOKw0QDSsNLA0rDisNLA0PDRANKw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0sDQ8NEAwQDSsNLA0PDRANDw0PDRAMEA0rDSwNEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NKw0QDSsNLA0sDSsNLA0ODhANDw0QDBANDw0QDBANDw0PDRANDw0ODhANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NEA0PDRAMEA0PDQ8NLA0PDSwNDw0QDBANKw0sDRAMLA0QDBANDw0PDRANDw0PDRANDw0PDRANDw0PDRAMLA0QDBANKw0QDSsNLA0sDQANBQAAAAA="
ac_function_3:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDQ8NDw4PDRAMAAM9cToNLA0PDRANDw0sDQ8NEAwQDQ8NLA0PDSsOKw0QDSsNLA0rDisNLA0PDRANKw0PDg8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0sDQ8NDw0QDQ8NLA0rDRANDw0sDQ8NEAwsDSwNDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDSwNKw4PDQ8NLA0rDSwNLA0NDxAMEA0PDRAMEA0PDRAMEA0PDRAMDw4PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANKw0QDSsNEA0PDRAMLA0rDg8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0QDQ8NKw4PDSsNEA0rDQANBQAAAAA="
ac_function_4:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODRANDw0QDBANAAM8cjoNKw4PDQ8NDw4rDRANDw0PDRANKw0QDSsNLA0PDSwNKw4rDSwNKw4PDRAMLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0QDBANDw0sDQ8NEAwQDQ8NLA0rDRANDw0sDQ8NEAwsDSwNDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDCwNLA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMDw4PDRAMEA0PDQ8NEA0PDRAMEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NLA0PDSwNDw0QDBANKw0sDQ8NEA0PDRAMEA0PDRAMEA0rDRANDw0QDBANDw0QDBANKw0sDQ8NLA0rDg8NDw0sDQANBQAAAAA="
ac_function_5:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODRANDw0QDBANAAM8cjoNKw4PDQ8NDw4rDRANDw0PDRANKw0QDSsNLA0PDSwNKw4rDSwNKw4PDRAMLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0QDBANDw0sDQ8NEAwQDQ8NLA0rDRANDw0sDQ8NEAwsDSwNDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDCwNLA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMDw4PDRAMEA0PDQ8NEA0PDRAMEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NLA0PDSwNDw0QDBANKw0sDQ8NEA0PDRAMEA0PDRAMEA0rDRANDw0QDBANDw0QDBANKw0sDQ8NLA0rDg8NDw0sDQANBQAAAAA="
ac_function_6:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAREMDRANDw0QDBANAAM9cjkNLA0PDRAMEA0rDRANDw0QDBANKw0QDSsNLA0QDCwNLA0rDisNLA0PDRANKw0QDQ8NDw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0sDQ8NEA0PDQ8NLA0rDg8NDw0sDQ8NEA0rDSwNDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0sDSsOKw0sDSsOKw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANDw0ODw8NDw0QDQ8NDw0QDBANDw0QDBANDw0PDRANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0QDSsNEA0PDRAMLA0sDQ8NEAwQDQ8NEAwQDQ8NEAwsDRAMEA0PDRAMEA0PDRAMEA0rDRANKw0QDSsNEA0rDQANBQAAAAA="
ac_function_7:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARANDRAMEA0PDRAMAAM9czgOKw0QDQ8NEAwsDRAMEA0PDRAMLA0PDSwNKw4PDSsOKw0sDSsOKw0QDQ8NKw4PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwsDRAMEA0PDRAMLA0sDQ8NEAwsDRAMEA0rDSwNDw0QDQ8NEAwQDQ8NEAwQDQ8NDw0sDSsOKw0sDSsNLA0QDBANKw0sDSwNKw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NEAwQDQ8NDw0QDQ8NDw0QDBANDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0QDSsNEA0PDQ8NLA0rDRANDw0QDBANDw0QDBANDw0sDQ8NEAwQDQ8NEAwQDQ8NLA0PDRAMLA0sDSsNEA0rDQANBQAAAAA="
ac_volume_1:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4ODg8NEAwQDQ8NAAM9cToNLA0PDRANDw0rDg8NDw0QDQ8NKw4PDSsOKw0QDSsNLA0rDisNLA0PDRANKw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NEAwQDQ8NEAwQDQ8NDw0sDQ8NEA0PDSsOKw0QDQ8NEAwQDQ8NEAwsDSsODw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0PDSwNKw4PDSsNLA0sDSsNLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0QDCwNEAwQDQ8NKw4rDRANDw0QDBANDw0PDRANDw0PDRANDw0PDRANDw0PDRAMLA0sDSsNEA0rDSwNLA0rDQANBQAAAAA="
ac_volume_2:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDQ8NEA0PDRAMAAM9cToNLA0PDRANDw0rDg8NDw0QDQ8NKw4PDSsOKw0QDSsNLA0rDSwNLA0PDRAMLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0rDg8NDw0QDCwNLA0PDRAMEA0PDRAMEA0rDSwNEAwQDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDCwNLA0PDRAMLA0rDisNLA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANDw0PDRANKw0QDSsNEA0PDQ8NLA0rDRANDw0QDBANDw0QDBANDw0PDRANDw0PDRANDw0PDRAMLA0sDSsNEA0rDSwNKw0QDQANBQAAAAA="
ac_volume_3:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARANDRANDw0QDBANAAM9czgNKw0QDQ8NEAwsDRAMEA0PDRAMLA0PDSwNLA0PDSwNKw0sDSwNKw0QDQ8NLA0PDRAMEA0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0rDRANDw0QDCwNLA0PDRAMEA0PDRAMEA0rDSwNEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwsDRAMLA0sDSsNLA0QDBANDw0PDRANDw0QDBANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NLA0PDSwNDw0QDBANKw8qDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NLA0rDSwNEAwQDQ8NEAwsDQANBQAAAAA="
ac_volume_4:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDRANDw0QDBANAAM9cToNKw4PDQ8NEA0rDRAMEA0PDRAMLA0QDSsNLA0PDSwNKw4rDSwNKw0QDQ8NLA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0rDRANDw0QDCwNKw4PDRAMEA0PDQ8NEA0rDSwNDw0QDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDCwNEAwsDRAMLA0rDisNLA0QDBANDw0QDBANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEAwQDQ8NEAwQDQ8NLA0PDSwNDw0PDRANKw0sDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NEAwQDQ8NKw4rDSwNDw0sDQ8NEAwsDQANBQAAAAA="
ac_volume_5:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8NEAwQDQ8NAAM9cjkNKw4PDRAMEA0rDRANDw0QDBANKw0QDSsNLA0PDSwNLA0rDSwNLA0PDRAMLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0sDQ8NEAwQDSsNLA0PDRANDw0QDBANDw0rDisNEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NLA0rDg8NKw0sDSwNKw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0QDSsNEA0PDQ8NLA0rDRANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0sDSwNDw0QDCwNEAwsDQANBQAAAAA="
ac_volume_6:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4NDw8NEAwQDQ8NAAM9cjkNLA0QDBANDw0sDQ8NEA0PDQ8NLA0PDSwNKw0QDSsOKw0sDSsOKw0QDBANKw0QDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwsDRAMEA0PDSwNKw0QDQ8NEAwQDQ8NEAwsDSwNDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDSwNKw4rDRANKw0sDSsOKw0PDRANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0PDRANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMLA0QDCwNDw0QDQ8NKw4rDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0rDisNEA0rDSwNDw0sDQANBQAAAAA="
ac_volume_7:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDRAMEA0PDRAMAAM+cToNKw0QDQ8NEAwsDRAMEA0PDRAMLA0QDCwNLA0PDSwNKw4rDSwNKw4PDQ8NLA0PDQ8ODw0PDRANDw0PDRANDw0PDRANDw0QDBANDw0QDBANDw0rDg8NDw0QDSsNLA0PDRANDw0PDRANDw0rDisNEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NLA0PDSwNKw4rDSwNKw0QDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDBANDw0QDBANKw0QDSsNEA0PDRAMLA0sDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NKw0sDSwNDw0QDCwNLA0rDQANBQAAAAA="
ac_mode_close:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARANDRAMEA0PDRANAAM8czkNKw0QDQ8NEAwsDQ8NEA0PDRAMLA0QDCwNKw4PDSsOKw0sDSsOKw0QDQ8NKw4PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NEAwsDRAMEA0rDSwNEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NKw4PDSsOKw0sDSsOKw0QDQ8NDw0QDBANDw0QDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANKw0QDSsNEA0PDQ8NLA0rDRANDw0QDBANDw0QDCwNDw0QDQ8NEAwQDQ8NDw0QDBANDw0QDBANKw0sDSwNKw0sDQANBQAAAAA="
ac_mode_cold:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAREMDRANDw0PDRANAAM8dDcOKw0QDQ8NDw0sDQ8NEA0PDQ8NLA0PDSwOKg0QDSsNLA0sDSsNLA0QDBANKw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0sDg4ODw0PDSsOKw4ODRANDw0QDBANDw0sDSsNEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NLA0PDSwOKg0sDisNKw0QDQ8NDw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANKw0QDCwODwwQDQ8NLA4qDRANDw0QDBANDw0QDBANDw0PDRANDw0PDRAMEA0PDRAMLA4rDSsNEA0PDSsPKg0sDgANBQAAAAA="
ac_mode_heat:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDRANDw0QDBANAAM8czgOKw0QDQ8NDw0sDQ8NEA0PDRAMLA0PDSwNKw4PDSsOKw0sDSsOKw0QDQ8NKw4PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0rDRANDw0PDRANDw0rDRANDw0sDQ8NEAwsDSwNDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANKw0QDSsNLA0rDisNLA0PDRANDw0PDRANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NLA0PDSwNDw0QDBANKw0sDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NLA0PDRANKw0sDSsNLA0sDQANBQAAAAA="
ac_mode_dry:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARANDRANDw0QDQ8NAAM8czkNKw0QDQ8NEAwsDRAMEA0PDQ8NLA0PDSwNKw4PDSsOKw0sDSsOKw0QDBANKw4PDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwsDQ4OEA0PDQ8NLA0PDRAMEA0PDRAMEA0PDRAMLA0sDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NKw4PDSsOKw0sDSsOKw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0PDRANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDQ8NEA0PDQ8NLA0PDSwNDw0QDBANKw0sDQ8NEA0PDQ8NEA0PDQ8NEA0PDQ8NEAwQDQ8NEAwQDQ8NLA0rDSwNDw0QDSsNLA0PDQANBQAAAAA="
ac_mode_auto:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODQ8ODw0PDRANAAM7czoNKw4PDQ8NEA0rDRAMEA0PDRANKw0QDSsNLA0PDSwNKw4rDSwNKw4PDQ8NLA0PDRANDw0PDRANDw0PDRANDw0QDBANDw0QDBANDw0QDBANDw0rDg8NEAwQDQ8NDw0QDQ8NEAwsDQ8NEA0rDSwNDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDQ8NDw0QDBANKw0QDSsNLA0sDSsNLA0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0QDBANDw0PDRANDw0QDBANDw0PDRANDw0QDBANDw0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0PDSwNDw0QDQ8NKw4rDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMEA0PDRAMLA0PDRANKw0sDSsODw0rDQANBQAAAAA="
ac_temp_18:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDQ8NEA0PDRAMAAM+cToNKw4PDQ8NEA0rDRANDw0QDBANKw8ODSsNLA0QDCwNLA4qDSwNLA0PDRANKw0PDg8NDw0PDg8NEAwQDQ8NDw0QDQ8NEAwQDQ8NEAwQDQ8NEAwsDQ8NEA0PDSwNKw0QDQ8NDw0QDSsNEA0PDSwNDw0QDBANDw0QDBANDw0QDBANDw0sDSsNLA0sDSsNLA0QDBANKw0sDSwNKw0QDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NDw0QDQ8NEAwQDQ8NDw0QDQ8NDw0PDg8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NEAwQDQ8NKw4PDSsODw0PDRANKw0sDQ8NEA0PDQ8NEA0PDQ8NEA0rDQ8ODw0PDRANDw0PDRANKw0sDQ8NLA0rDisNLA0PDQANBQAAAAA="
ac_temp_19:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARANDg8ODg4ODg8OAAM8cjkOKw4ODg4ODw4qDg8ODg4ODg8OKg4PDioOKw4ODisOKw4qDisOKw4ODg4OKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4rDg4ODg4PDioOKw4ODg8ODg4rDioODw4ODisODg4ODg8ODg4ODg8ODg4ODg8ODg4qDyoOKw4qDyoOKw4ODg8OKg4rDioPKg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8OKg4PDioODw4ODg4OKw4qDw4ODg4ODw4ODg4ODw4ODg4rDg4ODg8ODg4ODg4PDg4OKw8NDisOKg4rDisOKg4PDwANBQAAAAA="
ac_temp_20:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ4PDw0NEA4ODw0PAAM8cToNKw8ODw0PDQ8qDw0PDg8NDw4OKg8NDyoNLA8LESoNKw4rDyoPKQ8ODw0PKg8NDwsRDg0QDBANDw0PDRAODg0PDw4NDw0PDQ8PDg8NDg4PDg0rDg8PDQ0QDioNLA0PDRANDw0QDBANKw8NDyoNDw8ODQ8NEA0PDQ8NDw8ODg4PDQ4rDyoPKQ8qDyoNKw8ODg4PKg4qDSwPKg0PDw0PDg8NDw0PDg4ODw4ODg0PDw4ODQ8ODw0PDg4ODw4ODQ8ODw0PDg4ODw0PDg4ODw4ODQ8ODw0PDQ8ODw0PDQ8ODw0PDQ8ODw0PDg4ODw0PDg4ODw0PKRANDykPDg8NDw0PKg8qDw0PDQ8ODw0PDQ0QDw0NDw8qDw0PDQ8ODw0PDQ8ODw0PKg8pDyoPKRApDyoNKw8ODwANBQAAAAA="
ac_temp_21:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAREJEA8PDRANDw4OAAM7cjkPKg0PDw4PDQ0sDw0PDg4ODw0PKg0PDyoPKQ8ODykOKw8qDykPKg8NDw4PKQ4PDw0PDQ8ODw4ODQ8ODw0PDQ8ODw0PDg4ODw0PDg8NDw0NEA8pDw4ODg8ODioPKg8NDw0PDg8pDw4PKQ8ODykPDg8NDw4ODg8NDw0PDg8NDw0PDg8pDyoQKQ8pDyoPKg8NDw0PKg8qECgQKRAKEQ4PDQ8NDw4PDQ8NDw4PDQ8NDw4PDQ8ODw0PCxENEA0PDQ8NDw4PDQ8NEA0PDQ8NEA0PDg4NEA0PDQ8NDw4PDQ8NDw4PDQ8NDw4PDQ8NDw4PDQ8NDw4PKQ8ODykQDQ8NDw0PKhAoEA0PDQ8ODw0PDQ8NEA0PDQ8qDw0PDRANDw0PDQ8ODw0PKhAMDw0PDg8NDw0PDg8pDwANBQAAAAA="
ac_temp_22:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARILEQwPDRANDw0QAAM6czgPKhAMDw0QDQ8pEA0PDRAMEA0QKBANECgQKRAMECkQKRAoECkQKRAMEAwQKRAMEA0PDRAMEA0QDA8NEA0PDRAMEA0PDQ8NDw4PDRAMDw4PDQ8pEA0PDQ8ODioOKw4ODg4PDg4ODisOKg8ODioPDg4ODg4ODw4ODg4ODw4ODg4ODw4qDisOKw4qDisOKw4ODg4OKw4qDyoOKw4ODg8ODg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg8ODg4ODg8ODg4OKw4ODisODg4ODg8OKg4rDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg8OKg4rDg4ODg8ODg4ODg4rDgANBQAAAAA="
ac_temp_23:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4OAAM9cjkOKg8ODg4ODw4qDg4PDg4ODg8OKg4PDioOKw4ODisOKg8qDisOKg8ODg4OKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4rDg4ODg4PDioOKw4ODg8ODg4rDioOKw4ODisODg4PDg4ODg4PDg4ODg4PDg4ODg4rDisOKg4rDioPKg4PDg4OKg8qDisOKg8ODg4ODg8ODg4ODw0PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4OKg4PDioODw4ODg4OKw4rDg4ODg4PDg4ODg4PDg4ODg4rDg4ODw4ODg4ODw4ODg4OKw4ODisODg4ODg8ODg4rDgANBQAAAAA="
ac_temp_24:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4OAAM8czgOKw4ODg8ODg4rDg4ODg4PDg4OKw4ODisOKg4PDioOKw4rDioOKw4ODg8OKg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4rDg4ODg4PDioOKw4ODg8ODg4ODg8ODg4rDioODw4ODg4ODw4ODg4ODw4ODg4ODw4qDisOKw4qDisOKw4ODg4OKw4rDioOKw4ODg8ODg4ODg8ODg4ODg4ODw4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4OKw4ODisODg4ODg8OKg4rDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg8OKg4rDioODw4ODg4ODw4qDgANBQAAAAA="
ac_temp_25:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg4ODw4ODg4OAAM8cjkOKw4ODg8ODg4rDg4ODg4PDg4OKw4ODioPKg4PDioOKw4qDyoOKw4ODg8OKg4ODg8ODg4ODw4ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4rDg4ODg4PDioPKg4ODw4ODg4PDioODg4rDisODg4ODw4ODg4ODg8ODg4ODg8ODg4rDioOKw4rDioOKw4ODg8OKg4rDioOKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4OKw4ODisODg4ODg8OKg4rDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg4OKw4rDg4OKw4ODg4ODw4qDgANBQAAAAA="
ac_temp_26:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODg8OAAM8cjkOKw4ODg4ODw4qDg8ODg4ODw4OKg8ODioOKw4ODisOKw4qDyoOKw4ODg4PKg4ODw4ODg4ODw4ODg4ODw4ODg4ODg8ODg4ODg8ODg4ODw4ODg4rDg4ODw4ODioPKg4PDg4ODg4rDioPDg4qDisODg4PDg4ODg8ODg4ODg8ODg4ODg4rDisOKg4rDisOKg4PDg4OKw4qDisOKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg8ODg4ODg8ODg4OKw4ODisODg4ODg8OKg4rDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg8OKg4PDioOKw4ODg8ODg4qDwANBQAAAAA="
ac_temp_27:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODw4ODg4ODg8OAAM8cjkOKg8ODg4ODg4rDg4ODw4ODg4PKg4PDioOKw4ODisOKg8qDisOKg8ODg4OKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4qDw4ODg4PDioOKw4ODg8ODg4ODg4PKg4rDioPDg4ODg4PDg4ODg4ODw4ODg4ODw4qDisOKw4qDisOKw4ODg4OKw4qDyoOKw4ODg8ODg4ODg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4OKw4ODisODg4ODw4OKg8qDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg8OKg4rDioPKg4PDg4ODg4rDgANBQAAAAA="
ac_temp_28:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODw4ODg4ODg8OAAM8cjkOKg8ODg4ODg4rDg4ODw4ODg4PKg4PDioOKw4ODisOKg8qDisOKg8ODg4OKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4qDw4ODg4PDioOKw4ODg8ODg4ODg4PKg4rDioPDg4ODg4PDg4ODg4ODw4ODg4ODw4qDisOKw4qDisOKw4ODg4OKw4qDyoOKw4ODg8ODg4ODg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4OKw4ODisODg4ODw4OKg8qDg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODg8ODg4ODg8OKg4rDioPKg4PDg4ODg4rDgANBQAAAAA="
ac_temp_29:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODg8OAAM8cjkOKg4PDg4ODg4rDg4ODw4ODg4OKw4ODisOKw4ODisOKg4rDisOKg4PDg4OKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODisOKw4ODg4ODw4qDg8OKg4rDisODg4ODg8ODg4ODg8ODg4ODg8ODg4qDyoOKw4qDyoOKw4ODg8OKg4rDioOKw4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8NDw4ODg8ODg4ODg8OKg4ODisODg4PDg4OKw4qDg8ODg4ODg8ODg4ODg8ODg4rDg4ODg4PDg4ODg4ODw4OKg4PDg4ODg8qDg4ODw4qDgANBQAAAAA="
ac_temp_30:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARAODg4ODg4PDg4OAAM8cjkOKw4ODg8ODg4qDw4ODg4PDg4OKg8ODioPKg4PDioOKw4qDyoOKw4ODg8OKg4PDg4ODg4PDg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODg8ODg4rDg4ODg4PDioOKw4ODg8ODg4rDioOKw4rDioODw4ODg4ODw4ODg4ODw4ODg4ODg4rDisOKg4rDisOKg4PDg4OKw4qDisOKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg4PDg4ODg8ODg4ODg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4OKg8ODioPDg4ODg4OKw4rDg4ODg4PDg4ODg4PDg4ODg4rDg4ODw4ODg4ODw4ODg4OKw4ODisODg4rDg4ODg8qDgANBQAAAAA="
ac_temp_31:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEARAODg4ODg4PDg4OAAM8cjkOKw4ODg8ODg4qDw4ODg4PDg4OKg8ODioPKg4PDioOKw4qDyoOKw4ODg8OKg4PDg4ODg4PDg4ODg4PDg4ODg4ODw4ODg4ODw4ODg4ODg8ODg4rDg4ODg4PDioOKw4ODg8ODg4rDioOKw4rDioODw4ODg4ODw4ODg4ODw4ODg4ODg4rDisOKg4rDisOKg4PDg4OKw4qDisOKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODg4PDg4ODg8ODg4ODg8ODg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4ODg4PDg4OKg8ODioPDg4ODg4OKw4rDg4ODg4PDg4ODg4PDg4ODg4rDg4ODw4ODg4ODw4ODg4OKw4ODisODg4rDg4ODg8qDgANBQAAAAA="
ac_temp_32:
sequence:
- service_template: >
{% if is_state('input_select.select_rooms_ac', '客厅') %}
switch.broadlink_send_packet_192_168_2_17
{% elif is_state('input_select.select_rooms_ac', '书房') %}
switch.broadlink_send_packet_192_168_2_22
{% elif is_state('input_select.select_rooms_ac', '儿童房') %}
switch.broadlink_send_packet_192_168_2_23
{% elif is_state('input_select.select_rooms_ac', '睡房') %}
switch.broadlink_send_packet_192_168_2_24
{% endif %}
data:
packet:
- "JgBEAQ8ODg8ODg4ODw4OAAM8cjkOKg8ODg4ODg8qDg4PDg4ODg8OKg4PDioOKw4ODisOKg8qDisOKg8ODg4OKw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4ODg4ODw4qDg8ODg4ODisOKw4ODg4ODw4ODg4ODw4ODQ8OKw4ODg8ODg4ODg8ODg4ODg4PDg4qDyoOKw4qDyoOKw4ODg4OKw4rDioPKg4ODw4ODg4ODg8ODg4ODg8ODg4ODRAODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg8ODg4ODg4PDg0PDg4ODw4ODg4OKw4ODisODg4PDg4OKw4qDg8ODg4ODg8ODg4ODg8ODg4qDw4ODg4ODw4ODg4ODg8OKg4rDisODg4rDg4ODg4rDgANBQAAAAA="
复制代码