Hey,
I would like add my custom window opener system to homekit (arduino with mqtt). There isnt position or tilt funtion just open and close. The state can be “open, opening, close, closing”. It is working fine with home assistant, but I have two problem with homekit:
-
I set device_class to “window” in configuration.yaml into mqtt section, but in home app I get “shutter” icon and I cannot change it to window.
-
In Home app the “state” is not working fine. The HA showing all state (close, closing, open, opening), but I have only two state in Home App: “open” and “closed”.
Thank you your help!
My config:
cover:
- platform: mqtt
unique_id: Bedroom_Window_01
name: "Bedroom - Window 01"
device_class: window
command_topic: "Indoor/Bedroom/Window/01/Set"
state_topic: "Indoor/Bedroom/Window/01/State"
payload_open: "1"
payload_close: "0"
state_opening: "opening"
state_open: "open"
state_closing: "closing"
state_closed: "closed"
optimistic: false
qos: 2
1 post - 1 participant