Building a custom config for Tuya device that is missing features?

Hello :wave: Could someone guide me to right direction when I need to create a custom config for Tuya device that is missing features?

Tested both localtuya and official tuya integrations and simple heater / hvac machine isn’t properly working. Issues are, states (on/off) are not updated, features/modes are missing etc.

One could assume there’s a way to debug the values from Tuya developer console and create a config based on the values/templates visible on the debug console, but I have not been able find any discussion about building a custom config.

Thank you in advance any tips :slight_smile:

Hi,

have you been successful? Same situation here but in my case it is a star projector in my kid’s room which is not fully functional. On the IoT Development platform (Tuya) all features are represented.

[
  {
    "code": "switch_led",
    "value": true
  },
  {
    "code": "work_mode",
    "value": "white"
  },
  {
    "code": "bright_value_v2",
    "value": 10
  },
  {
    "code": "colour_data_v2",
    "value": {
      "h": 0,
      "s": 1000,
      "v": 878
    }
  },
  {
    "code": "scene_data_v2",
    "value": {
      "scene_num": 6,
      "scene_units": [
        {
          "bright": 0,
          "h": 0,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        },
        {
          "bright": 0,
          "h": 120,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        },
        {
          "bright": 0,
          "h": 240,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        },
        {
          "bright": 0,
          "h": 61,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        },
        {
          "bright": 0,
          "h": 174,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        },
        {
          "bright": 0,
          "h": 275,
          "s": 1000,
          "temperature": 0,
          "unit_change_mode": "jump",
          "unit_gradient_duration": 70,
          "unit_switch_duration": 70,
          "v": 1000
        }
      ]
    }
  },
  {
    "code": "countdown_1",
    "value": 0
  }
]

On home assistant it’s only:

supported_color_modes:
  - brightness
  - hs
friendly_name: Nebula
supported_features: 0

:smiley:

Nope, never was successful with this. Funny enough even Tuya’s own cloud integration fails to handle this device correctly, most of the features that are available on Tuya App are missing from HA.