the error message is quite clear on this: “true” and “false” are not supported by your item. I only see your thing definition, but I assume the item is a simple switch? If so, it only knows the OPEN and CLOSED values.
Is the mapping for CLOSED and OPEN correct?
Type contact : Kontakt [ stateTopic="zigbee2mqtt/Sensor_Fenster_Bad/contact", CLOSED="true", OPEN="false" ]
That’s not how transformations work and there is no OPEN=“true” parameter when defining a Channel in a .things file. I just read a similar thread not to long ago who had the same issue. The docs are pretty clear though, you use on=true even with a Contact.
Beyond that I can’t help. I don’t use .things files. I don’t recommend the use of .things files. And honestly I feel like I spend too much time helping people who insist on using them already.
Contact Kontakt "Open/close contact" {channel="BLAH:Fenster_Bad:Kontakt"}
Sitemap
Default item=Kontakt
Rich is totaly correct the docs are clear however thankyou for posting the question as not everyone has english as first language. I use thing files others don’t their is no wrong way just working or not.