Improved logging

This commit is contained in:
Maximilian Giller 2023-10-09 17:56:21 +02:00
parent 11814a211d
commit 4cb7e3f731

View file

@ -178,6 +178,7 @@ def trigger_change(triggerState: dict):
if target_light_state == motion_triggered_lights:
return
logging.info(f"Motion trigger set to {target_light_state}")
set_light_state(target_light_state)
# Save state