Hi,
I had some problems I could not pin down properly.
It seemed, that rules I created for jrs223 did get executed multiple times when I do some changes in the file because the “old” rule did not get removed. Could this be true?
This is how I added my rules:
def getRules():
return RuleSet([
cSimplePresence( "Bad_MuSe6_Alarm_Anz", "Anwesend_Bad"),
cSimplePresence( "Kuche_MuSe6_Alarm_Anz", "Anwesend_Kueche"),
cSimplePresence( "Schlafzimmer_Fenster_Alarm_Anz", "Anwesend_Schlafzimmer"),
cSimplePresence( "Flur_Wohnungstuere_Alarm_Anz", "Anwesend_Flur"),
cSimplePresence( "Wohnzimmer_Balkontuere_Alarm_Anz", "Anwesend_Wohnzimmer"),
])