HomeKit GarageDoor wrong state

Hi Florian,

here is an example how it works for me

i configured it using text files but it should work in the same way via UI.

basically you need at least 1 additional item, which can be virtual, i.e. without a link to a channel/things.
something like this.

String garageCurrentState "Garage Current State [%s]" (gGarage) {homekit="CurrentDoorState"}

and the use rules to update you real item, something like this

rule "garage door state update"
when
     Item garage_opener_device_openState received update
then
     if (garage_opener_device_openState.state == "OPEN" ) {
        garageCurrentState.sendCommand("OPEN")
     } else {
         garageCurrentState.sendCommand("CLOSED")
     }
end

in my case i had to make 3 virtual items, for currentState, targetState and obstruction. the last one has no mapping and no rules