Arlec Smart Socket - Not passing Power entities

Hello,

Looking for help with an Arlec PCTH01HA smart socket with Power, Temp and Humidity.

Been using Tuya integration for a while now and been pretty successful but this one has me stumped. For some reason the integration is only passing Temp/Humidity values, completely ignoring the power values.

The HA diags describes the power values so I’m not sure what I’m missing.

      "cur_current": {
        "type": "Integer",
        "value": {
          "unit": "mA",
          "min": 0,
          "max": 30000,
          "scale": 0,
          "step": 1
        }
      },
      "cur_power": {
        "type": "Integer",
        "value": {
          "unit": "W",
          "min": 0,
          "max": 80000,
          "scale": 1,
          "step": 1
        }
      },
      "cur_voltage": {
        "type": "Integer",
        "value": {
          "unit": "V",
          "min": 0,
          "max": 5000,
          "scale": 1,
          "step": 1
        }
      },
      "voltage_coe": {
        "type": "Integer",
        "value": {
          "min": 0,
          "max": 2147483647,
          "scale": 0,
          "step": 1
        }
      },
      "electric_coe": {
        "type": "Integer",
        "value": {
          "min": 0,
          "max": 2147483647,
          "scale": 0,
          "step": 1
        }
      },
      "power_coe": {
        "type": "Integer",
        "value": {
          "min": 0,
          "max": 2147483647,
          "scale": 0,
          "step": 1
        }
      },
      "electricity_coe": {
        "type": "Integer",
        "value": {
          "min": 0,
          "max": 2147483647,
          "scale": 0,
          "step": 1
        }
      },
      "power_limit": {
        "type": "Integer",
        "value": {
          "unit": "W",
          "min": 0,
          "max": 80000,
          "scale": 1,
          "step": 1
        }
      },

Hope someone out there can assist.

Cheers,
Joe

OK. Found a fix to this.

Moved from Tuya Cloud integration to LocalTuya.

A little fiddly, but most of the hard work already done with creation on Tuya IoT account.

Has anyone cracked the smart Arlec joke yet? Never mind. :roll_eyes:

Hey @slowjoe thanks for describing your solution using localtuya, I have the same device and want to implement this setup. Can you share the DP mappings you used to do this?