X-Git-Url: https://git.realraum.at/?a=blobdiff_plain;f=switch-power.py;fp=switch-power.py;h=9e036b37e6e6c4812c1efcbf0b721966100a0c52;hb=4f453b058059ac0964eb6ba25a79f7445bb3ef3a;hp=4db6ad762893025c054926d8ebae117b6f33e58e;hpb=564023a044eb709e3d0ea23bfcd8f74455de4bc0;p=svn42.git diff --git a/switch-power.py b/switch-power.py index 4db6ad7..9e036b3 100755 --- a/switch-power.py +++ b/switch-power.py @@ -343,7 +343,7 @@ while True: elif structname == "BoreDoomButtonPressEvent": eventPanic() continue - elif structname == "MovementSensorUpdate": + elif structname == "MovementSensorUpdate" or structname == "DoorAjarUpdate": eventMovement() continue elif structname == "IlluminationSensorUpdate" and "Value" in dictdata: