Skip to content

Commit

Permalink
Log err
Browse files Browse the repository at this point in the history
  • Loading branch information
dgomes authored Feb 3, 2024
1 parent c7d4c74 commit f055938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali2mqtt/lamp.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(
self.min_physical_level = _min_physical_level.value
except Exception as err:
self.min_physical_level = None
logger.warning("Set min_physical_level to None as %s doesn't have value attribute.", _min_physical_level)
logger.warning("Set min_physical_level to None as %s failed: %s", _min_physical_level, err)
self.min_level = driver.send(gear.QueryMinLevel(short_address)).value
self.max_level = driver.send(gear.QueryMaxLevel(short_address)).value
self.level = driver.send(gear.QueryActualLevel(short_address)).value
Expand Down

0 comments on commit f055938

Please sign in to comment.