[miio] fix channels with invalid names (#9888)
* [miio] fix channels with invalid names * [miio] allow for readbale friendly names Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
de126f6a71
commit
23fd13c9da
|
@ -234,7 +234,6 @@
|
|||
"friendlyName": "Light Mode",
|
||||
"channel": "lightMode",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"stateDescription": {
|
||||
"options": [
|
||||
{
|
||||
|
@ -247,6 +246,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_lightMode",
|
||||
|
|
|
@ -198,7 +198,6 @@
|
|||
"friendlyName": "Light Mode",
|
||||
"channel": "lightMode",
|
||||
"type": "Number",
|
||||
"refresh": true,
|
||||
"stateDescription": {
|
||||
"options": [
|
||||
{
|
||||
|
@ -211,6 +210,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"refresh": true,
|
||||
"actions": [
|
||||
{
|
||||
"command": "set_lightMode",
|
||||
|
|
|
@ -140,8 +140,8 @@
|
|||
"property": "pm2.5-density",
|
||||
"siid": 3,
|
||||
"piid": 6,
|
||||
"friendlyName": "Environment - Pm2 5 Density",
|
||||
"channel": "pm2.5-density",
|
||||
"friendlyName": "Environment - Pm2.5 Density",
|
||||
"channel": "pm2_5-density",
|
||||
"type": "Number",
|
||||
"stateDescription": {
|
||||
"minimum": 0.0,
|
||||
|
|
|
@ -140,8 +140,8 @@
|
|||
"property": "pm2.5-density",
|
||||
"siid": 3,
|
||||
"piid": 6,
|
||||
"friendlyName": "Environment - Pm2 5",
|
||||
"channel": "pm2.5-density",
|
||||
"friendlyName": "Environment - Pm2.5 density",
|
||||
"channel": "pm2_5-density",
|
||||
"type": "Number",
|
||||
"stateDescription": {
|
||||
"minimum": 0.0,
|
||||
|
|
Loading…
Reference in New Issue