-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Description
The problem
The Tuya integration only lets me control the light of the ceiling fan (entity "light.ceiling_fan_with_light"). The actual fan controls are "unavailable" (entity "fan.ceiling_fan_with_light").
I can control all fan functions in the "Smart Home App".
Thank you for your support
What version of Home Assistant Core has the issue?
2025.3.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tuya
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tuya/
Diagnostics information
{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2025.3.4",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.13.2",
"docker": true,
"arch": "aarch64",
"timezone": "Europe/Berlin",
"os_name": "Linux",
"os_version": "6.6.62-haos-raspi",
"supervisor": "2025.03.3",
"host_os": "Home Assistant OS 14.2",
"docker_version": "27.2.0",
"chassis": "embedded",
"run_as_root": true
},
},
"integration_manifest": {
"domain": "tuya",
"name": "Tuya",
"codeowners": [
"Tuya",
"zlinoliver"
],
"config_flow": true,
"dependencies": [
"ffmpeg"
],
"dhcp": [
}
],
"documentation": "https://www.home-assistant.io/integrations/tuya",
"integration_type": "hub",
"iot_class": "cloud_push",
"loggers": [
"tuya_iot"
],
"requirements": [
"tuya-device-sharing-sdk==0.2.1"
],
"is_built_in": true,
"overwrites_built_in": false
},
"data": {
"endpoint": "https://apigw.tuyaeu.com",
"terminal_id": "XXX",
"mqtt_connected": true,
"disabled_by": null,
"disabled_polling": false,
"id": "XXX",
"name": "Ceiling Fan With Light",
"category": "fs",
"product_id": "g0ewlb1vmwqljzji",
"product_name": "Ceiling Fan With Light",
"online": true,
"sub": false,
"time_zone": "+01:00",
"active_time": "2025-03-22T22:57:04+00:00",
"create_time": "2025-03-22T22:57:04+00:00",
"update_time": "2025-03-22T22:57:04+00:00",
"function": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"normal",
"sleep",
"nature"
]
}
},
"fan_speed": {
"type": "Enum",
"value": {
"range": [
"1",
"2",
"3",
"4",
"5",
"6"
]
}
},
"fan_direction": {
"type": "Enum",
"value": {
"range": [
"forward",
"reverse"
]
}
},
"light": {
"type": "Boolean",
"value": {}
},
"bright_value": {
"type": "Integer",
"value": {
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"temp_value": {
"type": "Integer",
"value": {
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"countdown_set": {
"type": "Enum",
"value": {
"range": [
"cancel",
"1h",
"2h",
"4h",
"8h"
]
}
}
},
"status_range": {
"switch": {
"type": "Boolean",
"value": {}
},
"mode": {
"type": "Enum",
"value": {
"range": [
"normal",
"sleep",
"nature"
]
}
},
"fan_speed": {
"type": "Enum",
"value": {
"range": [
"1",
"2",
"3",
"4",
"5",
"6"
]
}
},
"fan_direction": {
"type": "Enum",
"value": {
"range": [
"forward",
"reverse"
]
}
},
"light": {
"type": "Boolean",
"value": {}
},
"bright_value": {
"type": "Integer",
"value": {
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"temp_value": {
"type": "Integer",
"value": {
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
},
"countdown_set": {
"type": "Enum",
"value": {
"range": [
"cancel",
"1h",
"2h",
"4h",
"8h"
]
}
}
},
"status": {
"switch": true,
"mode": "normal",
"fan_speed": 1,
"fan_direction": "reverse",
"light": true,
"bright_value": 100,
"temp_value": 0,
"countdown_set": "off"
},
"home_assistant": {
"name": "Ceiling Fan With Light",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "light.ceiling_fan_with_light",
"state": "on",
"attributes": {
"min_color_temp_kelvin": 2000,
"max_color_temp_kelvin": 6500,
"min_mireds": 153,
"max_mireds": 500,
"supported_color_modes": [
"color_temp"
],
"color_mode": "color_temp",
"brightness": 255,
"color_temp_kelvin": 2000,
"color_temp": 500,
"hs_color": [
30.601,
94.547
],
"rgb_color": [
255,
137,
14
],
"xy_color": [
0.598,
0.383
],
"friendly_name": "Ceiling Fan With Light",
"supported_features": 0
},
"last_changed": "2025-03-22T23:12:56.056400+00:00",
"last_reported": "2025-03-22T23:12:56.056400+00:00",
"last_updated": "2025-03-22T23:12:56.056400+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": "config",
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "select.ceiling_fan_with_light_countdown",
"state": "unknown",
"attributes": {
"options": [
"cancel",
"1h",
"2h",
"4h",
"8h"
],
"friendly_name": "Ceiling Fan With Light Countdown"
},
"last_changed": "2025-03-22T23:12:56.057046+00:00",
"last_reported": "2025-03-22T23:12:56.057046+00:00",
"last_updated": "2025-03-22T23:12:56.057046+00:00"
}
},
{
"disabled": false,
"disabled_by": null,
"entity_category": null,
"device_class": null,
"original_device_class": null,
"icon": null,
"original_icon": null,
"unit_of_measurement": null,
"state": {
"entity_id": "fan.ceiling_fan_with_light",
"state": "unavailable",
"attributes": {
"restored": true,
"preset_modes": [
"normal",
"sleep",
"nature"
],
"supported_features": 61
},
"last_changed": "2025-03-22T23:13:12.510912+00:00",
"last_reported": "2025-03-22T23:13:12.510912+00:00",
"last_updated": "2025-03-22T23:13:12.510912+00:00"
}
}
]
},
"set_up": true,
"support_local": true
}
}
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response