[miio] add poweroff properties to zhimi powerstrip (#8899)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-11-01 23:32:56 +01:00
committed by GitHub
parent e8565d0be6
commit 71566e47af
2 changed files with 36 additions and 6 deletions

View File

@@ -12,7 +12,6 @@
"channelType": "power",
"type": "Switch",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_power",
@@ -27,7 +26,6 @@
"channelType": "powerUsage",
"type": "Number",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"parameterType": "EMPTY"
@@ -41,7 +39,6 @@
"channelType": "led",
"type": "Switch",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_wifi_led",
@@ -55,7 +52,6 @@
"channel": "power_price",
"type": "Number",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_power_price",
@@ -70,7 +66,6 @@
"channelType": "current",
"type": "Number",
"refresh": true,
"ChannelGroup": "",
"actions": []
},
{
@@ -80,7 +75,30 @@
"channelType": "temperature",
"type": "Number",
"refresh": true,
"ChannelGroup": "",
"actions": []
},
{
"property": "lp_autooff",
"friendlyName": "Low Power Auto Off",
"channel": "lp_autooff",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "lp_autooff_delay",
"friendlyName": "Low Power Limit Time",
"channel": "lp_autooff_delay",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "lp_threshold",
"friendlyName": "Low Power Threshold",
"channel": "lp_threshold",
"type": "Number",
"refresh": true,
"actions": []
}
]