|
|
@@ -116,8 +116,9 @@ class TuyaLocalEntity:
|
|
|
|
|
|
async def async_added_to_hass(self):
|
|
|
self._device.register_entity(self)
|
|
|
+ _LOGGER.debug("Adding %s for %s", self._config.config_id, self._device.name)
|
|
|
if self._config.deprecated:
|
|
|
- _LOGGER.warning(self._config.deprecation_message, stack_info=True)
|
|
|
+ _LOGGER.warning(self._config.deprecation_message)
|
|
|
|
|
|
async def async_will_remove_from_hass(self):
|
|
|
await self._device.async_unregister_entity(self)
|