Device integrated trough Tuya Smart, shown as unsupported in homeassistant.
I Get the following diagnostic :
Possible values
“data”: {
“endpoint”: “https://openapi.tuyaeu.com”,
“auth_type”: 0,
“country_code”: “32”,
“app_type”: “tuyaSmart”,
“mqtt_connected”: true,
“disabled_by”: null,
“disabled_polling”: false,
“name”: “HomerEVCharger”,
“model”: “”,
“category”: “qccdz”,
“product_id”: “jui3mys5c9rfdju2”,
“product_name”: “EV_Charger_14”,
“online”: true,
“sub”: false,
“time_zone”: “+01:00”,
“active_time”: “2024-01-20T17:23:44+00:00”,
“create_time”: “2024-01-20T10:07:05+00:00”,
“update_time”: “2024-01-20T17:34:56+00:00”,
“function”: {
“forward_energy_total”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 0,
“max”: 99999999,
“scale”: 2,
“step”: 1
}
},
“work_state”: {
“type”: “Enum”,
“value”: {
“range”: [
“charger_free”,
“charger_insert”,
“charger_free_fault”,
“charger_wait”,
“charger_charging”,
“charger_pause”,
“charger_end”,
“charger_fault”
]
}
},
“charge_cur_set”: {
“type”: “Integer”,
“value”: {
“unit”: “A”,
“min”: 6,
“max”: 80,
“scale”: 1,
“step”: 1
}
},
“connection_state”: {
“type”: “Enum”,
“value”: {
“range”: [
“controlpi_12v”,
“controlpi_12v_pwm”,
“controlpi_9v”,
“controlpi_9v_pwm”,
“controlpi_6v”,
“controlpi_6v_pwm”,
“controlpi_error”
]
}
},
“work_mode”: {
“type”: “Enum”,
“value”: {
“range”: [
“charge_now”,
“charge_energy”,
“charge_schedule”
]
}
},
“energy_charge”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 1,
“max”: 20000000,
“scale”: 3,
“step”: 1
}
},
“switch”: {
“type”: “Boolean”,
“value”: {}
},
“charge_time”: {
“type”: “Integer”,
“value”: {
“unit”: “min”,
“min”: 1,
“max”: 1440,
“scale”: 1,
“step”: 1
}
},
“charge_energy_once”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 0,
“max”: 200000,
“scale”: 2,
“step”: 1
}
}
},
“status_range”: {
“forward_energy_total”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 0,
“max”: 99999999,
“scale”: 2,
“step”: 1
}
},
“battery_percentage”: {
“type”: “Integer”,
“value”: {
“unit”: “%”,
“min”: 0,
“max”: 100,
“scale”: 1,
“step”: 1
}
},
“work_state”: {
“type”: “Enum”,
“value”: {
“range”: [
“charger_free”,
“charger_insert”,
“charger_free_fault”,
“charger_wait”,
“charger_charging”,
“charger_pause”,
“charger_end”,
“charger_fault”
]
}
},
“charge_cur_set”: {
“type”: “Integer”,
“value”: {
“unit”: “A”,
“min”: 6,
“max”: 80,
“scale”: 1,
“step”: 1
}
},
“power_total”: {
“type”: “Integer”,
“value”: {
“unit”: “kW”,
“min”: 0,
“max”: 99999999,
“scale”: 3,
“step”: 1
}
},
“connection_state”: {
“type”: “Enum”,
“value”: {
“range”: [
“controlpi_12v”,
“controlpi_12v_pwm”,
“controlpi_9v”,
“controlpi_9v_pwm”,
“controlpi_6v”,
“controlpi_6v_pwm”,
“controlpi_error”
]
}
},
“work_mode”: {
“type”: “Enum”,
“value”: {
“range”: [
“charge_now”,
“charge_energy”,
“charge_schedule”
]
}
},
“energy_charge”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 1,
“max”: 20000000,
“scale”: 3,
“step”: 1
}
},
“switch”: {
“type”: “Boolean”,
“value”: {}
},
“charge_time”: {
“type”: “Integer”,
“value”: {
“unit”: “min”,
“min”: 1,
“max”: 1440,
“scale”: 1,
“step”: 1
}
},
“temp_current”: {
“type”: “Integer”,
“value”: {
“unit”: “\u2103”,
“min”: -50,
“max”: 300,
“scale”: 1,
“step”: 1
}
},
“charge_energy_once”: {
“type”: “Integer”,
“value”: {
“unit”: “kW\u00b7h”,
“min”: 0,
“max”: 200000,
“scale”: 2,
“step”: 1
}
}
}
Example of result :
"status": { "forward_energy_total": 454, "battery_percentage": 0, "work_state": "charger_charging", "charge_cur_set": 6, "power_total": 0, "connection_state": "controlpi_6v_pwm", "work_mode": "charge_energy", "energy_charge": 10, "switch": true, "charge_time": 1, "temp_current": 16, "charge_energy_once": 162 },
How Can I Help to add this integration.
Regards.