first steps wit home assistand are done and now I try to solve some small things that are not so smart.
One of these things is my garage door.
Ther the status is displayed in different binary sensors comming from the KNX system like:
Garage door closed
Garage door opened
Garage door opens
Garage door closes
I want to have these status combined in one “meaasge box”.
Therfor I tried to add the following in the configuration.yaml but something ist wrong, because I cannot ad the entyty to my dasboard.
the hint, yousing - template sensor - is good. did’t knew it bevor.
I copied the suggested code into the template sensor.
There are no failures reported and the status is displayed correctly for each of the 4 Status in my dasboard.
Thank you!
Next time I will poste code in a better way.
But I’m wondering why not all 4 different sensors are displayed in the template
The second sensor is 'on' so it does not need to watch the third and fourth as they cannot affect the output. Close the door and it’ll only list one when it is shut.
Thats what I’m wondering about. There are 4 Status possible.
Garagentor offen - that means garage door is open
Garagentor geschlossen - that means garage door is closed
Garagentor fährt auf - that means garage door is moving / opening
Garagentor fährt zu - that means garage door is moving / closing
actual the garage door is closed, but already the same