[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:
Marcel 2021-01-22 03:00:25 +01:00 committed by GitHub
parent de126f6a71
commit 23fd13c9da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View File

@ -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",

View File

@ -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",

View File

@ -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,

View File

@ -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,