My opengarage template errors with 0.93.0 upgrade
Reverting to 0.92.2 works fine
Can you share your config? Not sure what you are referring to.
cover:
- platform: opengarage
covers:
garage:
host: 10.1.1.5
device_key: !secret og_device_key
name: Garage
sensor:
- platform: template
sensors:
garage_status:
friendly_name: 'Garage Door Status'
value_template: '{% if states.cover.Garage %}
{% if states.cover.Garage.attributes["door_state"] == "open" %}
Open
{% elif states.cover.Garage.attributes["door_state"] == "closed" %}
Closed
{% elif states.cover.Garage.attributes["door_state"] == "opening" %}
Opening
{% elif states.cover.Garage.attributes["door_state"] == "closing" %}
Closing
{% else %}
Unknown
{% endif %}
{% else %}
n/a
{% endif %}'
garage_car_present:
friendly_name: 'Car in Garage'
value_template: '{% if states.cover.Garage %}
{% if states.cover.Garage.state == "open" %}
n/a
{% elif ((states.cover.Garage.attributes["distance_sensor"] > 40) and (states.cover.Gar$
Yes
{% else %}
No
{% endif %}
{% else %}
n/a
{% endif %}'
See
What is the error you are receiving?
Could not render template Garage Door Status: str: Invalid entity ID ‘cover.Garage’
11:08 AM components/template/sensor.py (ERROR) - message first occured at 11:08 AM and shows up 2 times
Check the actual entity_id in your states page. cover.Garage
is likey cover.garage
I am out in my car at the moment but I think I checked that this morning and you are correct.
I tried changing every instance of Garage to garage but that didn’t seem to help.
Edit:
I changed Garage to garage again, saved and rebooted and now it seems OK.
Thanks for your help (I must have missed something earlier)