Hi there,
i have configured a shelly plus 1 with a shelly addon to control my garage door. Everything works fine on homeassistant but when i add it into homekit it is always shown as open.
my cover template looks like this:
cover:
- platform: template
covers:
exterior:
friendly_name: "exterior"
device_class: garage
position_template: "{{ states('binary_sensor.sensor_input') }}"
open_cover:
- condition: state
entity_id: binary_sensor.sensor_input
state: "off"
- action: switch.turn_on
target:
entity_id: switch.shellyplus1_switch_0
close_cover:
- condition: state
entity_id: binary_sensor.sensor_input
state: "on"
- action: switch.turn_on
target:
entity_id: switch.shellyplus1_switch_0
icon_template: >-
{% if is_state('binary_sensor.sensor_input', 'on') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}
am i doing anything wrong?? the shelly is configured as button and automatically comes back to off after 1 sec.