Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95478

Homekit Garagedoor

$
0
0

@weaverprojects wrote:

Hi, I’ve got a problem with my garagedoor. when I open the garagedoor in home app it shows the right state and the garagedoor opens. But I can’t close the garagedoor with the home app. is something wrong with my code in the configuration.yaml? Any help would be appreciated… thx

cover:
  - platform: template
    covers:
      garage_door:
        friendly_name: "Garage"
        value_template: "{{ is_state('binary_sensor.garagentor', 'on') }}"
        open_cover:
          service: switch.turn_on
          data:
            entity_id: switch.garagentor
        close_cover:
          service: switch.turn_off
          data:
            entity_id: switch.garagentor
        stop_cover:
          service: switch.turn_on
          data:
            entity_id: switch.garagentor
        icon_template: >-
          {% if is_state('cover.garage_door', 'open') %}
            mdi:garage-open
          {% else %}
            mdi:garage
          {% endif %}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95478

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>