Turned all 'print' messages into _LOGGER.debug

This commit is contained in:
rospogrigio
2022-06-01 18:05:12 +02:00
parent da8ed8d82b
commit 8b11ffaf86
7 changed files with 15 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ class LocaltuyaSwitch(LocalTuyaEntity, SwitchEntity):
"""Initialize the Tuya switch."""
super().__init__(device, config_entry, switchid, _LOGGER, **kwargs)
self._state = None
print("Initialized switch [{}]".format(self.name))
_LOGGER.debug("Initialized switch [%s]", self.name)
@property
def is_on(self):