I flashed a TUYA D06 windows sensor with tasmota.
It is working fine, but it sends on/off (Power) depending on the window state.
Which is the best way, to integrate it into Homey? I believe I should map it somehow to true/false in MQTT Hub, but I can not figure out, how to do it.
Any help would be highly appreciated!