2021-08-26 14:23:04 +00:00
|
|
|
vacuum_clean_room:
|
|
|
|
alias: Vacuum clean room
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Hallway'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 16
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Bathroom'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 17
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Living Room/Dining'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 18
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Kitchen'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 19
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Living Room/TV'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 20
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Bedroom'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 21
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Cave'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 22
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_select.vacuum_room_cleaning
|
|
|
|
state: 'Kitchen/Hallway'
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_clean_segment
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
data:
|
|
|
|
segments: 23
|
|
|
|
mode: single
|
2021-10-11 17:27:10 +00:00
|
|
|
|
|
|
|
vacuum_today:
|
|
|
|
alias: Vacuum only once
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: input_boolean.today_vacuumed
|
|
|
|
state: 'off'
|
|
|
|
sequence:
|
|
|
|
- choose:
|
|
|
|
- conditions:
|
|
|
|
- condition: state
|
|
|
|
entity_id: alarm_control_panel.ha_alarm
|
|
|
|
state: 'armed_away'
|
|
|
|
sequence:
|
|
|
|
- service: alarm_control_panel.alarm_arm_night
|
|
|
|
entity_id: alarm_control_panel.ha_alarm
|
|
|
|
- service: vacuum.start
|
2022-01-04 23:20:17 +00:00
|
|
|
entity_id: vacuum.robot_vacuum
|
|
|
|
|
|
|
|
vacuum_goto_bin:
|
|
|
|
alias: Vacuum go to bin
|
|
|
|
sequence:
|
|
|
|
- service: xiaomi_miio.vacuum_goto
|
|
|
|
data:
|
|
|
|
x_coord: '23000'
|
|
|
|
y_coord: '26000'
|
|
|
|
target:
|
|
|
|
entity_id: vacuum.robot_vacuum
|