I just bought a LSC power plug, and setup local tuya on my HA.
No problem adding the power plug, and turning it on/off.
But I noticed a lot of extra’s, and don’t know how to access these.
After adding I get ’ Configure entity’
The first ’ ID’ I keep default (1(value False), this seems to work for on/off
But below that is ’ Current ', ’ Current Consumtion ’ and ’ Voltage ’ !? what can I do with them?
When I look in the Toya IoT platform at ’ Get Device Specification ’
I see this information.
Who can help, what all is possible with this plug? looks like more than just on/off
{
"result": {
"category": "cz",
"functions": [
{
"code": "switch_1",
"lang_config": {
"false": "OFF",
"true": "ON"
},
"name": "Switch 1",
"type": "Boolean",
"values": "{}"
},
{
"code": "countdown_1",
"lang_config": {
"unit": "s"
},
"name": "Countdown 1",
"type": "Integer",
"values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "relay_status",
"lang_config": {
"last": "Remember last status",
"power_off": "Off",
"power_on": "ON"
},
"name": "relay status",
"type": "Enum",
"values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
}
],
"status": [
{
"code": "switch_1",
"lang_config": {
"false": "OFF",
"true": "ON"
},
"name": "Switch 1",
"type": "Boolean",
"values": "{}"
},
{
"code": "countdown_1",
"lang_config": {
"unit": "s"
},
"name": "Countdown 1",
"type": "Integer",
"values": "{\"unit\":\"s\",\"min\":0,\"max\":86400,\"scale\":0,\"step\":1}"
},
{
"code": "relay_status",
"lang_config": {
"last": "Remember last status",
"power_off": "Off",
"power_on": "ON"
},
"name": "relay status",
"type": "Enum",
"values": "{\"range\":[\"power_off\",\"power_on\",\"last\"]}"
}
]
},
"success": true,
"t": 1665132598370,
"tid": "05c0b7bf461d11ed9fa122dacb9008b9"
}