Hello,
i made my garage door a bit smarter and useing the Fibaro FGBS-222 and a Aqara Door/Window Sensor.
Now i try to combine them into a cover for my garage door to control it via homekit.
Here in the forum were some examples and i tried some of them, but did not get the right result. At the moment i use following template:
The binary sensors outputs on/off state for open/close. The Template itself shows the correct icon, but the state is still opend. Is there no possibilites to change the default state to closed?
value_template represents the state you see in the UI. Then based on what that state is, the open/close cover will enable/disable. E.g. if the state is open, only close will be enabled.
Welcome, yes those entities are defined elsewhere. These items usually come from other integrations. For example, if you have a zwave switch (switch.garage_door) that opens and closes the garage door and a zwave sensor (binary_sensor.door_status) that tells you if the state of the garage door. Youâd use those entities in the value template and the turn_on/turn_off service fields.
I have come across this post looking for a way to combine my garage door relays and reed switches to show status in one icon, the code above does work for me, but Iâm trying to integrate it into a lovelace-entities-btn-group card as just a simple press button that shows status.
I can add the cover to the card, but when pressed in comes up with a toggle switch, I just want it to operate as a quick button press.
I have tried the simple button card that allows you to use a quick tap interaction, but itâs not good for a compact screen with multiple buttons like the btn-group card âŚ
Is there a config option Iâm missing in cover or btn-group ? Or another way to do it ?