[miio] use json db to drive temperature channel definitions (#9960)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
cc00fd78ee
commit
c9dbc46fd1
|
@ -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": [],
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": [],
|
||||
|
|
|
@ -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": [],
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue