Skip to content

Instantly share code, notes, and snippets.

@colinmcintosh
Created February 28, 2022 02:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colinmcintosh/60ce5921de55fad91a10ff10705ff870 to your computer and use it in GitHub Desktop.
Save colinmcintosh/60ce5921de55fad91a10ff10705ff870 to your computer and use it in GitHub Desktop.
Workaround for Home Assistant Issue #67344
# Two separate automation configs, one for on and one for off.
# Indicator On
alias: Automation - Garage Door Open Indicator On
description: ''
trigger:
- platform: device
device_id: 860cdcae1ac3a1f0b3d9aa2e4d409eea
domain: cover
entity_id: cover.garage_door
type: opened
condition: []
action:
- service: zwave_js.set_config_parameter
data:
bitmask: '2130706432'
parameter: '16'
value: '4'
target:
device_id: 01fbf2febc124114a5f8c455424f6789
- service: zwave_js.set_config_parameter
data:
bitmask: '255'
parameter: '16'
value: '0'
target:
device_id: 01fbf2febc124114a5f8c455424f6789
- service: zwave_js.set_config_parameter
data:
bitmask: '65280'
parameter: '16'
value: '10'
target:
device_id: 01fbf2febc124114a5f8c455424f6789
- service: zwave_js.set_config_parameter
data:
bitmask: '16711680'
parameter: '16'
value: '255'
target:
device_id: 01fbf2febc124114a5f8c455424f6789
mode: single
# Indicator off
alias: Automation - Garage Door Open Indicator Off
description: ''
trigger:
- platform: device
device_id: 860cdcae1ac3a1f0b3d9aa2e4d409eea
domain: cover
entity_id: cover.garage_door
type: closed
condition: []
action:
- service: zwave_js.set_config_parameter
data:
bitmask: '2130706432'
parameter: '16'
value: '0'
target:
device_id: 01fbf2febc124114a5f8c455424f6789
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment