I have tried various setups, one of my latest versions is:
“devices”: [
{
“id”: “idbed”,
“name”: “Bett”,
“class”: “ButtonsDevice”,
“buttons”: [
{
“id”: “idbutbedup”,
“text”: “auf”
},
{
“id”: “idbutbeddown”,
“text”: “ab”
}
]
},…
and
“rules”: [
{
“id”: “idrule_butbeddown”,
“name”: “Bedruleup”,
“rule”: “when idbed.idbutbeddown is switched on for 2 seconds then switch idbed.idbutbeddown off”,
“active”: true,
“logging”: false
},…
but I always get:
error: Could not parse rule “when idbed.idbutbeddown is switched on for 2 seconds then switch idbed.idbutbeddown off”: Could not find an provider that decides next predicate of “idbed.idbutbeddown is switched on for 2 seconds”.
whats wrong ?
p.s. how to quote in the forum?