Skip to content

Tuya Smart IR Controller #116023

Description

@bruceborrett

The problem

I have this Tuya "Smart IR Controller" device:

image

This device and the devices linked to it do show up in Home Assistant, but they show as "unsupported" and do not have any entities.

I am using the new official Tuya integration (forked from the Tuya Smartlife repo) which does not require Tuya API access. I have many other Tuya devices all working fine.

The integration diagnostics data does contain all the information about the devices with all their relevant entities, so it seems the integration just needs to be updated to be able to recognise what type of devices these are.

The original Smartlife repo contained some instructions on how to add new devices here - https://github.com/tuya/tuya-smart-life/tree/main#categorystandard-instruction-set-expansion-development

Perhaps someone with more experience with developing home assistant integrations can assist with carrying out those instructions.

Here is the relevant data from the diagnostics:

Details { "id": "bf782d7e0cc21076b9rauj", "name": "Smart IR", "category": "wnykq", "product_id": "ejv37o6yz9vtxcuo", "product_name": "Smart IR", "online": true, "sub": false, "time_zone": "+02:00", "active_time": "2024-04-05T16:08:51+00:00", "create_time": "2024-04-05T16:08:51+00:00", "update_time": "2024-04-05T16:08:51+00:00", "function": {}, "status_range": {}, "status": {}, "home_assistant": {}, "set_up": false, "support_local": true }, { "id": "bfc235371979e2df94yl1j", "name": "Air", "category": "infrared_ac", "product_id": "000000dp6u", "product_name": "Air Conditioner", "online": true, "sub": true, "time_zone": "+02:00", "active_time": "2024-04-05T16:14:35+00:00", "create_time": "2024-04-05T16:14:35+00:00", "update_time": "2024-04-05T16:14:35+00:00", "function": { "F": { "type": "ENUM", "value": { "min": 0, "max": 3, "scale": 0, "step": 1, "type": "Integer" } }, "M": { "type": "ENUM", "value": { "min": 0, "max": 4, "scale": 0, "step": 1, "type": "Integer" } }, "PowerOff": { "type": "STRING", "value": "PowerOff" }, "PowerOn": { "type": "STRING", "value": "PowerOn" }, "T": { "type": "ENUM", "value": { "min": 16, "max": 30, "scale": 0, "step": 1, "type": "Integer" } } }, "status_range": { "wind": { "type": "ENUM", "value": { "min": 0, "max": 3, "scale": 0, "step": 1, "type": "Integer" } }, "mode": { "type": "ENUM", "value": { "min": 0, "max": 4, "scale": 0, "step": 1, "type": "Integer" } }, "power": { "type": "BOOLEAN", "value": {} }, "temp": { "type": "ENUM", "value": { "min": 16, "max": 30, "scale": 0, "step": 1, "type": "Integer" } } }, "status": { "power": true, "mode": 0, "temp": 21, "wind": 0 }, "home_assistant": {}, "set_up": false, "support_local": false }, { "id": "bf4324be01687e71d80pbw", "name": "TV Samsung", "category": "infrared_tv", "product_id": "000000dp6t", "product_name": "TV", "online": true, "sub": true, "time_zone": "+02:00", "active_time": "2024-04-05T16:26:44+00:00", "create_time": "2024-04-05T16:26:44+00:00", "update_time": "2024-04-05T16:26:44+00:00", "function": { "-/--": { "type": "STRING", "value": "-/--" }, "0": { "type": "STRING", "value": 0 }, "1": { "type": "STRING", "value": 1 }, "2": { "type": "STRING", "value": 2 }, "3": { "type": "STRING", "value": 3 }, "4": { "type": "STRING", "value": 4 }, "5": { "type": "STRING", "value": 5 }, "6": { "type": "STRING", "value": 6 }, "7": { "type": "STRING", "value": 7 }, "8": { "type": "STRING", "value": 8 }, "9": { "type": "STRING", "value": 9 }, "Back": { "type": "STRING", "value": "Back" }, "C": { "type": "ENUM", "value": { "min": 1, "max": 999, "scale": 0, "step": 1, "type": "Integer" } }, "Channel+": { "type": "STRING", "value": "Channel+" }, "Channel-": { "type": "STRING", "value": "Channel-" }, "Down": { "type": "STRING", "value": "Down" }, "Home": { "type": "STRING", "value": "Home" }, "Left": { "type": "STRING", "value": "Left" }, "Menu": { "type": "STRING", "value": "Menu" }, "OK": { "type": "STRING", "value": "OK" }, "Power": { "type": "STRING", "value": "Power" }, "Right": { "type": "STRING", "value": "Right" }, "Up": { "type": "STRING", "value": "Up" }, "Volume+": { "type": "STRING", "value": "Volume+" }, "Volume-": { "type": "STRING", "value": "Volume-" } }, "status_range": {}, "status": {}, "home_assistant": {}, "set_up": false, "support_local": false }

Related to #66866

What version of Home Assistant Core has the issue?

2024.2.1

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

No response

Link to integration documentation on our website

https://www.home-assistant.io/integrations/tuya/

Diagnostics information

config_entry-tuya-81c3dbf545c87509c53186349e1860f4.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions