I have a running instance of Home Assistant 2023.4.6 running in VMWare with a variety of integrations, all working great. Among them, I have an isy integration that’s exposing 60 entities. Four of them are for my garage door. The following entities are exposed and are visible in my dashboard:
switch.garage_door_r - hooked up to my garage door opener on my right garage door
switch.garage_door_l - hooked up to my garage door opener on my left garage door
binary_sensor.garage_door_right - hooked up to a sensor that reads on when the right garage door is closed
binary_sensor.garage_door_left - hooked up to a sensor that reads on when the left garage door is closed
I’ve tried to create a cover entity, based on this post, using the following yaml.
configuration.yaml
homeassistant:
name: Home
unit_system: us_customary
time_zone: America/Chicago
# Loads default set of integrations. Do not remove.
default_config:
# Text to speech
tts:
- platform: google_translate
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
cover: !include covers.yaml
covers.yaml
- platform: template
covers:
right_garage_door:
device_class: garage
friendly_name: "Right Garage Door"
value_template: >-
{% if is_state('binary_sensor.garage_door_right','on') %}
Closed
{% else %}
Open
{% endif %}
open_cover:
service: switch.turn_on
data:
entity_id: switch.garage_door_r
close_cover:
service: switch.turn_on
data:
entity_id: switch.garage_door_r
stop_cover:
service: switch.turn_on
data:
entity_id: switch.garage_door_r
icon_template: >-
{% if is_state('binary_sensor.garage_door_right','on') %}
mdi:garage
{% else %}
mdi:garage-open
{% endif %}
customize.yaml
cover.right_garage_door:
device_class: garage
When I reload home assistant, it loads without errors. However, I don’t see any new entity showing up as available in my dashboard, or in /config/entities. I’ve tried simpler variations, too, but the new entities never show up. Does anyone see what I’ve done wrong? Why isn’t a new entity showing up?
Any help would be greatly appreciated, and would probably help others trying to get garage door or other similar integrations up and running.
Thank you!
Brad Hanken