Hi.
I’m new to Home Assistent, so maybe this is obvious for someone in here.
I have a iSmartGate Garage opener, and I have made a small card for it, looking like this:
type: entities
entities:
- entity: cover.garasjeport
title: Garasjeport
But is there a way to display if the port is opened or closed?
I can see in the github page here https://github.com/home-assistant/core/tree/dev/homeassistant/components/gogogate2 that there is a function:
@property
def is_closed(self):
"""Return true if cover is closed, else False."""
door = self._get_door()
if door.status == DoorStatus.OPENED:
return False
if door.status == DoorStatus.CLOSED:
return True
return None
But I don’t know how to use it…
Has anyone done this, or something similar?
Thanks.