Hello everyone,
I’ve recently update my automation system from OH2 to OH3 and I notice some configurations changed regarding Homekit integration.
In the past (OH2) I was used to use this kind of textual configuration to my devices and works very well:
Switch Tasmota_20_1 “Tomada A [%s]” (g_quarto, g_device, g_tomada [“Switchable”] { channel=“mqtt:topic:mosquitto:Tasmota_20:power1” }
Now, reading the documentation (HomeKit Add-on - System Integrations | openHAB) I notice somethings changed and for textual configuration I should use like this:
Switch Tasmota_20_1 “Tomada A [%s]” (g_quarto, g_device, g_tomada [homekit=“Switchable”] { channel=“mqtt:topic:mosquitto:Tasmota_20:power1” }
But when I saved I’m receiving failing message as below:
2021-09-24 09:17:36.069 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model ‘z3_device.items’ has errors, therefore ignoring it: [45,9]: mismatched input ‘=’ expecting ‘]’
Following the instruction, I add the metadata Switchable by MainUI and works ok, but I would like to do it by textual…
Could you please help me to understand what I’m missing?
Thank you in advance,
Thomaz