Logging is more efficient
This commit is contained in:
1 parent
c3c1383ae6
commit
1e136a2416
15 files changed
+136
-158
No files matched your search
@@ -118,11 +118,9 @@ def setup(hass, config):
|
||||
if light_needed:
|
||||
|
||||
logger.info(
|
||||
"Home coming event for {}. Turning lights on".
|
||||
format(entity))
|
||||
"Home coming event for %s. Turning lights on", entity)
|
||||
|
||||
light.turn_on(hass, light_ids,
|
||||
profile=light_profile)
|
||||
light.turn_on(hass, light_ids, profile=light_profile)
|
||||
|
||||
# Are we in the time span were we would turn on the lights
|
||||
# if someone would be home?
|
||||
|
||||
Reference in new issue
Block a user