diff --git a/custom_components/tuya_v2/fan.py b/custom_components/tuya_v2/fan.py index 6c761b7..44ede4a 100644 --- a/custom_components/tuya_v2/fan.py +++ b/custom_components/tuya_v2/fan.py @@ -53,7 +53,7 @@ async def async_setup_entry( async def async_discover_device(dev_ids): """Discover and add a discovered tuya fan.""" - _LOGGER(f"fan add-> {dev_ids}") + _LOGGER.info(f"fan add-> {dev_ids}") if not dev_ids: return entities = await hass.async_add_executor_job(_setup_entities, hass, dev_ids) diff --git a/custom_components/tuya_v2/humidifier.py b/custom_components/tuya_v2/humidifier.py index 3b0fed2..543eeca 100644 --- a/custom_components/tuya_v2/humidifier.py +++ b/custom_components/tuya_v2/humidifier.py @@ -39,13 +39,13 @@ async def async_setup_entry( hass: HomeAssistant, _entry: ConfigEntry, async_add_entities ): """Set up tuya sensors dynamically through tuya discovery.""" - _LOGGER("humidifier init") + _LOGGER.info("humidifier init") hass.data[DOMAIN][TUYA_HA_TUYA_MAP].update({DEVICE_DOMAIN: TUYA_SUPPORT_TYPE}) async def async_discover_device(dev_ids): """Discover and add a discovered tuya sensor.""" - _LOGGER(f"humidifier add-> {dev_ids}") + _LOGGER.info(f"humidifier add-> {dev_ids}") if not dev_ids: return entities = await hass.async_add_executor_job(_setup_entities, hass, dev_ids)