I have an old electrical driven Garage Door. I added now an Fibaro Door Sensor and a Qubino Relay to the Garage Door and now I can control it via home assistant.
It looks now the following:
The Status of the Door Sensor is “Offen” and “Geschlossen”
Now I tried to setup a cover and added the following to the configuration.yaml
I assume that this error is related to your position_template. Do you actually have a sensor called sensor.garage_door or is that a copy&paste issue? If you do have that sensor then it will have to return a number between 0 and 100, according to the documentation.
Where does your sensor.garage_torstatus get its value from? Normally, if you have something like a reed sensor that just knows if the door is closed or not, you should have this available as a binary_sensor instead. This in turn could then directly feed into the cover template’s value_template.
Once the cover is defined correctly you should be able to add it into an entities card. The cover will have its own entity id, cover.....
Meaning that it does not exist? Or it doesn’t correctly switch between on == door open, and off == door closed?
So, if your sensor sensor.garagentor_kontakt_access_control can have two different numeric values indicating whether the garage door is open or closed, I would turn this into a binary_sensor, something like:
Good to see that the binary sensor works as expected. If you add this to an entities card in the UI you should now also get a nice garage door icon and “Geschlossen”/“Offen” as state.
Oh, I thought that the binary sensor can be used as-is, but according to the documentation and this error message, that is not the case.
Try this: value_template: "{{ is_state('binary_sensor.garage_torstatus_binary', 'on') }}"
I don’t think that this is possible; the icon changes, but the colour doesn’t.
This is how my entities look like when the garage door is open - the top entry is the cover, the bottom one is just the garage door’s reed sensor.