Hallo and Thank you. It works with small mods very fine.
My DummyPresenceSensor without autoreset.
{
"id": "my-sensor-led1",
"name": "EG Bad",
"class": "DummyPresenceSensor",
"autoReset": false
}
Two rules for preset and absent.
{
"id": "eg-bad-led",
"name": "EG Bad",
"rule": "when temperature of my-sensor1 >= 30 then set presence of my-sensor-led1 present",
"active": true,
"logging": true
},
{
"id": "eg-bad-led-2",
"name": "EG Bad 2",
"rule": "when temperature of my-sensor1 < 30 then set presence of my-sensor-led1 absent",
"active": true,
"logging": true
}
And in Pimatic in function!
Thanks & a nice Weekend!