Ajuda ventilador no LocalTuya

Boa tarde.
Estou tendo problemas ao tentar colocar um dos meus ventiladores de teto dentro do homeassistant através do localTuya.
o modelo é esse aqui:
YD22-WS-T3_W4 / NHZS-风扇灯开关
Alguém pode me ajudar? Os logs estão abaixo.

2024-01-24 12:03:21.645 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hass_agent_mediaplayer which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-24 12:03:21.652 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hass_agent_notifier which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-24 12:03:21.658 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-24 12:03:21.663 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-24 12:03:21.668 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration hass_agent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-01-24 12:04:01.243 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.
2024-01-24 12:04:01.275 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request
2024-01-24 12:04:01.276 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /store request
2024-01-24 12:04:01.279 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /core/info request
2024-01-24 12:04:01.281 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /supervisor/info request
2024-01-24 12:04:01.282 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /os/info request
2024-01-24 12:04:01.371 WARNING (MainThread) [homeassistant.components.hassio] Can’t read Supervisor data:
2024-01-24 12:04:15.408 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.420 WARNING (MainThread) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.433 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.446 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.459 WARNING (MainThread) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.471 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.483 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.498 WARNING (MainThread) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.511 WARNING (MainThread) [homeassistant.const] TEMP_CELSIUS was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.524 WARNING (MainThread) [homeassistant.const] TEMP_FAHRENHEIT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.556 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.568 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.580 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.591 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.604 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.617 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.629 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.642 WARNING (MainThread) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.665 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.678 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.691 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.702 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.714 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:15.726 WARNING (MainThread) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please create a bug report at Issues · rospogrigio/localtuya · GitHub
2024-01-24 12:04:25.287 WARNING (MainThread) [homeassistant.setup] Setup of input_button is taking over 10 seconds.
2024-01-24 12:04:25.287 WARNING (MainThread) [homeassistant.setup] Setup of alexa is taking over 10 seconds.
2024-01-24 12:04:25.288 WARNING (MainThread) [homeassistant.setup] Setup of input_datetime is taking over 10 seconds.
2024-01-24 12:04:25.288 WARNING (MainThread) [homeassistant.setup] Setup of schedule is taking over 10 seconds.
2024-01-24 12:04:25.288 WARNING (MainThread) [homeassistant.setup] Setup of timer is taking over 10 seconds.
2024-01-24 12:04:25.687 WARNING (MainThread) [homeassistant.setup] Setup of input_text is taking over 10 seconds.
2024-01-24 12:04:25.687 WARNING (MainThread) [homeassistant.setup] Setup of zone is taking over 10 seconds.
2024-01-24 12:04:25.688 WARNING (MainThread) [homeassistant.setup] Setup of counter is taking over 10 seconds.
2024-01-24 12:04:26.734 WARNING (MainThread) [homeassistant.setup] Setup of input_select is taking over 10 seconds.
2024-01-24 12:04:49.405 WARNING (MainThread) [homeassistant.components.light] Entity None (<class ‘custom_components.localtuya.light.LocaltuyaLight’>) is using deprecated supported features values which will be removed in HA Core 2025.1. Instead it should use <LightEntityFeature.EFFECT|19: 23> and color modes, please create a bug report at Issues · rospogrigio/localtuya · GitHub and reference Deprecating all magic numbers for supported features | Home Assistant Developer Docs
2024-01-24 12:04:52.701 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability’: [{‘topic’: ‘ps5-mqtt/2C9E00095381’, ‘value_template’: Template<template=({{ value_json.device_status }}) renders=0>, ‘payload_available’: ‘online’, ‘payload_not_available’: ‘offline’}], ‘unique_id’: ‘2C9E00095381_activity_ps5mqtt’, ‘state_topic’: ‘ps5-mqtt/2C9E00095381’, ‘name’: ‘PS5-052 activity’, ‘device’: {‘manufacturer’: ‘Sony’, ‘model’: ‘Playstation 5’, ‘name’: ‘PS5-052’, ‘identifiers’: [‘2C9E00095381’], ‘connections’: [[‘ip’, ‘192.168.4.72’]], ‘sw_version’: ‘08400005’}, ‘enabled_by_default’: True, ‘json_attributes_topic’: ‘ps5-mqtt/2C9E00095381’, ‘value_template’: Template<template=({{ value_json.activity }}) renders=0>, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘Activity’
2024-01-24 12:04:52.822 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability’: [{‘topic’: ‘ps5-mqtt/2C9E00095381’, ‘value_template’: Template<template=({{ value_json.device_status }}) renders=0>, ‘payload_available’: ‘online’, ‘payload_not_available’: ‘offline’}], ‘name’: ‘PS5-052 power’, ‘command_topic’: ‘ps5-mqtt/2C9E00095381/set/power’, ‘state_topic’: ‘ps5-mqtt/2C9E00095381’, ‘unique_id’: ‘2C9E00095381_power_ps5mqtt’, ‘state_on’: ‘AWAKE’, ‘state_off’: ‘STANDBY’, ‘payload_on’: ‘AWAKE’, ‘payload_off’: ‘STANDBY’, ‘optimistic’: False, ‘value_template’: Template<template=({{ value_json.power }}) renders=0>, ‘icon’: ‘mdi:sony-playstation’, ‘device’: {‘manufacturer’: ‘Sony’, ‘model’: ‘Playstation 5’, ‘name’: ‘PS5-052’, ‘identifiers’: [‘2C9E00095381’], ‘connections’: [[‘ip’, ‘192.168.4.72’]], ‘sw_version’: ‘08400005’}, ‘availability_mode’: ‘latest’, ‘enabled_by_default’: True, ‘retain’: False, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘Power’
2024-01-24 12:04:56.682 ERROR (MainThread) [homeassistant.components.homekit] Failed to create a HomeKit accessory for sensor.sensor_de_temperatura_da_sala
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/components/homekit/init.py”, line 729, in add_bridge_accessory
acc = get_accessory(self.hass, self.driver, state, aid, conf)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/homekit/accessories.py”, line 274, in get_accessory
return TYPES[a_type](hass, driver, name, state.entity_id, aid, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/homekit/type_sensors.py”, line 126, in init
self.async_update_state(state)
File “/usr/src/homeassistant/homeassistant/components/homekit/type_sensors.py”, line 135, in async_update_state
temperature = temperature_to_homekit(temperature, unit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/components/homekit/util.py”, line 404, in temperature_to_homekit
TemperatureConverter.convert(temperature, unit, UnitOfTemperature.CELSIUS), 1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/util/unit_conversion.py”, line 73, in convert
return cls.converter_factory(from_unit, to_unit)(value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/util/unit_conversion.py”, line 375, in converter_factory
return cls._converter_factory(from_unit, to_unit)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/util/unit_conversion.py”, line 430, in _converter_factory
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Celsius is not a recognized temperature unit.
2024-01-24 12:05:32.337 WARNING (MainThread) [homeassistant.helpers.entity] Update of media_player.samsung_qn85ba_55_2 is taking over 10 seconds
2024-01-24 12:05:33.685 WARNING (MainThread) [custom_components.localtuya.common] [ebc…p8i] Disconnected - waiting for discovery broadcast
2024-01-24 12:05:33.687 WARNING (MainThread) [custom_components.localtuya.common] [eba…8ua] Disconnected - waiting for discovery broadcast
2024-01-24 12:05:33.948 WARNING (MainThread) [homeassistant.components.media_player] Updating dlna_dmr media_player took longer than the scheduled update interval 0:00:10
2024-01-24 12:09:08.404 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘icon’: ‘mdi:window-maximize’, ‘unique_id’: ‘b8a13021-188c-4eca-ada5-8b2929f00e5c’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_janelaativa’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_janelaativa/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_janelaativa’
2024-01-24 12:09:43.650 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘icon’: ‘mdi:chart-areaspline’, ‘unique_id’: ‘404815f7-95e7-4286-8dbd-ac41693cfee4’, ‘unit_of_measurement’: ‘%’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_cargadacpu’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_cargadacpu/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_cargadacpu’
2024-01-24 12:09:52.734 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘icon’: ‘mdi:speedometer’, ‘unique_id’: ‘daa782da-f868-4e8a-b076-f25982429b07’, ‘unit_of_measurement’: ‘MHz’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_velocidadeatualdacpu’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_velocidadeatualdacpu/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_velocidadeatualdacpu’
2024-01-24 12:10:13.395 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘unique_id’: ‘d11836ff-277c-4237-96cb-c04efced314d’, ‘unit_of_measurement’: ‘%’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_cargadagpu’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_cargadagpu/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_cargadagpu’
2024-01-24 12:10:15.575 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘device_class’: <SensorDeviceClass.TEMPERATURE: ‘temperature’>, ‘unique_id’: ‘40e8fbe3-aae2-4c3d-b272-46ad46b73182’, ‘unit_of_measurement’: ‘°C’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_temperaturadagpu’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_temperaturadagpu/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_temperaturadagpu’
2024-01-24 12:10:37.190 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘icon’: ‘mdi:memory’, ‘unique_id’: ‘510d5507-5d60-4ecb-b95b-f07b6fc92efb’, ‘unit_of_measurement’: ‘%’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_usodemem_ria’, ‘state_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/DESKTOP-562J6OC_usodemem_ria/state’, ‘availability_mode’: ‘latest’, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘force_update’: False, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_usodemem_ria’
2024-01-24 12:17:34.029 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘command_topic’: ‘homeassistant/button/DESKTOP-562J6OC/DESKTOP-562J6OC_desligar/set’, ‘unique_id’: ‘d21baa2d-e98e-4053-a98b-5770c3208364’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_desligar’, ‘availability_mode’: ‘latest’, ‘retain’: False, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘payload_press’: ‘PRESS’, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_desligar’
2024-01-24 12:18:24.850 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘command_topic’: ‘homeassistant/button/DESKTOP-562J6OC/DESKTOP-562J6OC_reiniciar/set’, ‘unique_id’: ‘b5c23b4b-e94c-445a-9977-b7bfa5a04e47’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_reiniciar’, ‘availability_mode’: ‘latest’, ‘retain’: False, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘payload_press’: ‘PRESS’, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_reiniciar’
2024-01-24 12:18:24.909 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {‘availability_topic’: ‘homeassistant/sensor/DESKTOP-562J6OC/availability’, ‘command_topic’: ‘homeassistant/button/DESKTOP-562J6OC/DESKTOP-562J6OC_sleep/set’, ‘unique_id’: ‘78319a46-9631-41c9-967d-65df7f82adc4’, ‘device’: {‘identifiers’: [‘hass.agent-DESKTOP-562J6OC’], ‘manufacturer’: ‘LAB02 Research’, ‘model’: ‘Microsoft Windows NT 10.0.19045.0’, ‘name’: ‘DESKTOP-562J6OC’, ‘sw_version’: ‘2022.14.0’, ‘connections’: }, ‘name’: ‘DESKTOP-562J6OC_sleep’, ‘availability_mode’: ‘latest’, ‘retain’: False, ‘payload_not_available’: ‘offline’, ‘payload_available’: ‘online’, ‘encoding’: ‘utf-8’, ‘qos’: 0, ‘payload_press’: ‘PRESS’, ‘enabled_by_default’: True}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes ‘_sleep’
2024-01-24 12:45:24.110 WARNING (Thread-2 (_thread_main)) [roombapy.roomba] Unexpectedly disconnected from Roomba 192.168.4.20, code The connection was lost
2024-01-24 14:01:55.712 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)
Traceback (most recent call last):
File “/config/custom_components/localtuya/config_flow.py”, line 595, in async_step_configure_device
self.dps_strings = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/config_flow.py”, line 242, in validate_input
interface = await pytuya.connect(
^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/pytuya/init.py”, line 1182, in connect
_, protocol = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1085, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1069, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 973, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 628, in sock_connect
return await fut
^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 668, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}‘)
OSError: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)
2024-01-24 14:02:06.592 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)
Traceback (most recent call last):
File “/config/custom_components/localtuya/config_flow.py”, line 595, in async_step_configure_device
self.dps_strings = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/config_flow.py”, line 242, in validate_input
interface = await pytuya.connect(
^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/pytuya/init.py”, line 1182, in connect
_, protocol = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1085, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1069, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 973, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 628, in sock_connect
return await fut
^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 668, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}’)
OSError: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)
2024-01-24 14:02:20.864 ERROR (MainThread) [custom_components.localtuya.config_flow] Unexpected exception: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)
Traceback (most recent call last):
File “/config/custom_components/localtuya/config_flow.py”, line 595, in async_step_configure_device
self.dps_strings = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/config_flow.py”, line 242, in validate_input
interface = await pytuya.connect(
^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/localtuya/pytuya/init.py”, line 1182, in connect
_, protocol = await loop.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1085, in create_connection
raise exceptions[0]
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 1069, in create_connection
sock = await self._connect_sock(
^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/base_events.py”, line 973, in _connect_sock
await self.sock_connect(sock, address)
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 628, in sock_connect
return await fut
^^^^^^^^^
File “/usr/local/lib/python3.11/asyncio/selector_events.py”, line 668, in _sock_connect_cb
raise OSError(err, f’Connect call failed {address}')
OSError: [Errno 113] Connect call failed (‘192.168.4.24’, 6668)

Parece ser problema de constantes alteradas, mas não sei como corrigir

O ha tá avisando que algumas coisas vão mudar de nome, mas só em 2025.1. O erro mesmo do localtuya parece ser esse ai em cima. Ele não conseguiu se conectar no 192.168.4.24. Por acaso o ventilador mudou de ip?

Desculpe a demora em responder.
O IP é esse mesmo.
Engraçado que quando eu coloco ele pelo tuya normal ele não entra a luz do ventilador de jeito nenhum

Tentei agora adicionar o interruptor e, por algum motivo, funcionou!!!
Essa semana reisntalei o homeassistant do zero. Acredio que devia ser algo na minha instalação que estava zoado.