Hi,
i have installed a Zigbee Xiaomi Aquara button with Raspbee in Pimatic. This changes the state value to 102 when actuated. How can I switch a lamp on and off when actuated? With my 2 rules the lamps go on and off again.
Thank you for your ideas.
{
"id": "id-terrassenlicht-xiaomi",
"name": "Terrassenlicht Xiaomi",
"rule": "when $id-raspbee_ae6c96f02ceb8aa14d3d0f9be95867d9.state changes and 💡 Terrassenlicht is turned on then switch 💡 Terrassenlicht off",
"active": true,
"logging": true
},
{
"id": "id-terrassenlicht-xiaomi-2",
"name": "Terrassenlicht Xiaomi 2",
"rule": "when $id-raspbee_ae6c96f02ceb8aa14d3d0f9be95867d9.state changes and 💡 Terrassenlicht is turned off then switch 💡 Terrassenlicht on",
"active": true,
"logging": true
}