Improved logging
This commit is contained in:
parent
11814a211d
commit
4cb7e3f731
1 changed files with 1 additions and 0 deletions
|
@ -178,6 +178,7 @@ def trigger_change(triggerState: dict):
|
||||||
if target_light_state == motion_triggered_lights:
|
if target_light_state == motion_triggered_lights:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
logging.info(f"Motion trigger set to {target_light_state}")
|
||||||
set_light_state(target_light_state)
|
set_light_state(target_light_state)
|
||||||
|
|
||||||
# Save state
|
# Save state
|
||||||
|
|
Loading…
Reference in a new issue