Add contextual logging where applicable (#124)
* Add contextual logging where applicable * Compress device id in log output
This commit is contained in:
@@ -78,7 +78,7 @@ class LocaltuyaLight(LocalTuyaEntity, LightEntity):
|
||||
**kwargs,
|
||||
):
|
||||
"""Initialize the Tuya light."""
|
||||
super().__init__(device, config_entry, lightid, **kwargs)
|
||||
super().__init__(device, config_entry, lightid, _LOGGER, **kwargs)
|
||||
self._state = False
|
||||
self._brightness = None
|
||||
self._color_temp = None
|
||||
|
Reference in New Issue
Block a user