Skip to content

Instantly share code, notes, and snippets.

@cmlittle
Created January 4, 2021 03:18
Show Gist options
  • Select an option

  • Save cmlittle/e66a6d2394318aee694501eb6bbac920 to your computer and use it in GitHub Desktop.

Select an option

Save cmlittle/e66a6d2394318aee694501eb6bbac920 to your computer and use it in GitHub Desktop.
Home Assistant Wallmote Auotmations
###################### WALLMOTE 1 AUOTMATIONS ###########################
### Button 1 ###
- id: wallmote_button1_tap_open
alias: open left patio shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 1
condition:
- condition: state
entity_id: input_boolean.left_patio_shade
state: 'off'
action:
- service: cover.open_cover
entity_id: cover.left_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.left_patio_shade
- id: wallmote_button1_tap_close
alias: close left patio shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 1
condition:
- condition: state
entity_id: input_boolean.left_patio_shade
state: 'on'
action:
- service: cover.close_cover
entity_id: cover.left_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_off
entity_id: input_boolean.left_patio_shade
- id: wallmote_button1_hold_open
alias: open left patio shade hold
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 2
scene_id: 1
condition:
- condition: state
entity_id: input_boolean.left_patio_shade
state: 'on'
action:
- service: cover.open_cover
entity_id: cover.left_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.left_patio_shade
### Button 2 ###
- id: wallmote_button2_tap_open
alias: open right patio shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 2
condition:
- condition: state
entity_id: input_boolean.right_patio_shade
state: 'off'
action:
- service: cover.open_cover
entity_id: cover.right_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.right_patio_shade
- id: wallmote_button2_tap_close
alias: close right patio shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 2
condition:
- condition: state
entity_id: input_boolean.right_patio_shade
state: 'on'
action:
- service: cover.close_cover
entity_id: cover.right_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_off
entity_id: input_boolean.right_patio_shade
- id: wallmote_button2_hold_open
alias: open right patio shade hold
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 2
scene_id: 2
condition:
- condition: state
entity_id: input_boolean.right_patio_shade
state: 'on'
action:
- service: cover.open_cover
entity_id: cover.right_patio_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.right_patio_shade
### Button 3 ###
- id: wallmote_button3_tap_open
alias: open sink shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 3
condition:
- condition: state
entity_id: input_boolean.sink_shade
state: 'off'
action:
- service: cover.open_cover
entity_id: cover.sink_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.sink_shade
- id: wallmote_button3_tap_close
alias: close sink shade
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 3
condition:
- condition: state
entity_id: input_boolean.sink_shade
state: 'on'
action:
- service: cover.close_cover
entity_id: cover.sink_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_off
entity_id: input_boolean.sink_shade
- id: wallmote_button3_hold_open
alias: open sink shade hold
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 2
scene_id: 3
condition:
- condition: state
entity_id: input_boolean.sink_shade
state: 'on'
action:
- service: cover.open_cover
entity_id: cover.sink_shade_level
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.sink_shade
### Button 4 ###
- id: wallmote_button4_tap_open
alias: open dining room shades
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 4
condition:
- condition: state
entity_id: input_boolean.dining_room_shades
state: 'off'
action:
- service: cover.open_cover
entity_id: cover.dining_room_shades
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.dining_room_shades
- id: wallmote_button4_tap_close
alias: close dining room shades
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 0
scene_id: 4
condition:
- condition: state
entity_id: input_boolean.dining_room_shades
state: 'on'
action:
- service: cover.close_cover
entity_id: cover.dining_room_shades
- delay:
seconds: 1
- service: input_boolean.turn_off
entity_id: input_boolean.dining_room_shades
- id: wallmote_button4_hold_open
alias: open dining room shades hold
trigger:
- platform: event
event_type: zwave.scene_activated
event_data:
entity_id: zwave.aeon_labs_zw130_wallmote_quad
scene_data: 2
scene_id: 4
condition:
- condition: state
entity_id: input_boolean.dining_room_shades
state: 'on'
action:
- service: cover.open_cover
entity_id: cover.dining_room_shades
- delay:
seconds: 1
- service: input_boolean.turn_on
entity_id: input_boolean.dining_room_shades
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment