mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-04 11:24:10 +01:00
[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",
|
"friendlyName": "Light Mode",
|
||||||
"channel": "lightMode",
|
"channel": "lightMode",
|
||||||
"type": "Number",
|
"type": "Number",
|
||||||
"refresh": true,
|
|
||||||
"stateDescription": {
|
"stateDescription": {
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
@ -247,6 +246,7 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"refresh": true,
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"command": "set_lightMode",
|
"command": "set_lightMode",
|
||||||
|
@ -198,7 +198,6 @@
|
|||||||
"friendlyName": "Light Mode",
|
"friendlyName": "Light Mode",
|
||||||
"channel": "lightMode",
|
"channel": "lightMode",
|
||||||
"type": "Number",
|
"type": "Number",
|
||||||
"refresh": true,
|
|
||||||
"stateDescription": {
|
"stateDescription": {
|
||||||
"options": [
|
"options": [
|
||||||
{
|
{
|
||||||
@ -211,6 +210,7 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"refresh": true,
|
||||||
"actions": [
|
"actions": [
|
||||||
{
|
{
|
||||||
"command": "set_lightMode",
|
"command": "set_lightMode",
|
||||||
|
@ -140,8 +140,8 @@
|
|||||||
"property": "pm2.5-density",
|
"property": "pm2.5-density",
|
||||||
"siid": 3,
|
"siid": 3,
|
||||||
"piid": 6,
|
"piid": 6,
|
||||||
"friendlyName": "Environment - Pm2 5 Density",
|
"friendlyName": "Environment - Pm2.5 Density",
|
||||||
"channel": "pm2.5-density",
|
"channel": "pm2_5-density",
|
||||||
"type": "Number",
|
"type": "Number",
|
||||||
"stateDescription": {
|
"stateDescription": {
|
||||||
"minimum": 0.0,
|
"minimum": 0.0,
|
||||||
|
@ -140,8 +140,8 @@
|
|||||||
"property": "pm2.5-density",
|
"property": "pm2.5-density",
|
||||||
"siid": 3,
|
"siid": 3,
|
||||||
"piid": 6,
|
"piid": 6,
|
||||||
"friendlyName": "Environment - Pm2 5",
|
"friendlyName": "Environment - Pm2.5 density",
|
||||||
"channel": "pm2.5-density",
|
"channel": "pm2_5-density",
|
||||||
"type": "Number",
|
"type": "Number",
|
||||||
"stateDescription": {
|
"stateDescription": {
|
||||||
"minimum": 0.0,
|
"minimum": 0.0,
|
||||||
|
Loading…
Reference in New Issue
Block a user