[miio] use json db to drive temperature channel definitions (#9960)

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2021-01-26 05:15:26 +01:00 committed by GitHub
parent cc00fd78ee
commit c9dbc46fd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 64 additions and 16 deletions

View File

@ -73,9 +73,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],

View File

@ -28,9 +28,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -41,9 +41,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -45,9 +45,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -29,9 +29,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -295,9 +295,12 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@ -190,9 +190,12 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@ -189,9 +189,12 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@ -28,9 +28,12 @@
"property": "target_temperature",
"friendlyName": "Target Temperature",
"channel": "target_temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [
{
@ -120,9 +123,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -114,9 +114,12 @@
"piid": 8,
"friendlyName": "Environment - Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -114,9 +114,12 @@
"piid": 8,
"friendlyName": "Environment - Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",

View File

@ -220,9 +220,12 @@
"piid": 7,
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],

View File

@ -151,9 +151,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"ChannelGroup": "Status",
"actions": [],

View File

@ -175,9 +175,12 @@
"property": "temp_dec",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"transformation": "/10",
"ChannelGroup": "Status",

View File

@ -76,9 +76,12 @@
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"stateDescription": {
"pattern": "%.1f %unit%",
"readOnly": true
},
"refresh": true,
"actions": [],
"category": "temperature",