I suspect this is more a symptom of something else, but I’m not sure how to sort it out/resolve.
I have 3 garage doors controlled by HA and added into HomeKit via the HomeKit integration. I don’t want to get notifications about the Garage Doors opening/closing in HomeKit, but about once a week, the notification settings for these doors resets in HomeKit and I start getting notified again. It has been going on for months (?a year) but I’ve not investigated further into what may be doing this. Any ideas how to troubleshoot or solve this?
I restart HA a lot as I’m often tweaking/developing, but I haven’t change the Garage Door settings in many months.
The hardware and the code are the same for all 3 doors.
Tilt Sensor x3: Z-Wave Ecolink Tilt-Zwave5
Garage Door Opener (one device for all 3 doors): Z-Wave Zooz ZEN16
sensor.garage_door_snuffy2_status
is a Variable
Cover Template:
- platform: template
covers:
garage_door_snuffy2:
device_class: garage
friendly_name: "Garage Door - Snuffy2"
unique_id: garage_door_snuffy2
value_template: >-
{{ states('sensor.garage_door_snuffy2_status') }}
open_cover:
- condition: state
entity_id: binary_sensor.garage_door_tilt_sensor_snuffy2
state: "off"
- condition: state
entity_id: sensor.garage_door_snuffy2_status
state: "closed"
- service: variable.update_sensor
data:
replace_attributes: false
value: opening
target:
entity_id: sensor.garage_door_snuffy2_status
- service: switch.turn_on
target:
entity_id: switch.garage_door_opener_multirelay_snuffy2
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.garage_door_tilt_sensor_snuffy2
to: "on"
timeout:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- if:
- condition: state
entity_id: binary_sensor.garage_door_tilt_sensor_snuffy2
state: "on"
then:
- service: variable.update_sensor
data:
replace_attributes: false
value: open
target:
entity_id: sensor.garage_door_snuffy2_status
else:
- service: variable.update_sensor
data:
replace_attributes: false
value: closed
target:
entity_id: sensor.garage_door_snuffy2_status
close_cover:
- condition: state
entity_id: binary_sensor.garage_door_tilt_sensor_snuffy2
state: "on"
- condition: state
entity_id: sensor.garage_door_snuffy2_status
state: "open"
- service: variable.update_sensor
data:
replace_attributes: false
value: closing
target:
entity_id: sensor.garage_door_snuffy2_status
- service: switch.turn_on
target:
entity_id: switch.garage_door_opener_multirelay_snuffy2
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.garage_door_tilt_sensor_snuffy2
to: "off"
timeout:
hours: 0
minutes: 0
seconds: 15
milliseconds: 0
- if:
- condition: state
entity_id: binary_sensor.garage_door_tilt_sensor_snuffy2
state: "off"
then:
- service: variable.update_sensor
data:
replace_attributes: false
value: closed
target:
entity_id: sensor.garage_door_snuffy2_status
else:
- service: variable.update_sensor
data:
replace_attributes: false
value: open
target:
entity_id: sensor.garage_door_snuffy2_status
icon_template: >-
{% if is_state('sensor.garage_door_snuffy2_status','open') %}
kuf:fts_garage
{% elif is_state('sensor.garage_door_snuffy2_status','opening') or is_state('sensor.garage_door_snuffy2_status','closing') %}
kuf:fts_garage_door_50
{% else %}
kuf:fts_garage_door_100
{% endif %}