Files
openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json
Marcel 0cde89c327 [miio] update json files to new definition (#9239)
* Update some of the miot files to the new definition
* Apply units,category & tags for some channels
* apply standard sorting

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
2020-12-05 12:59:48 -08:00

137 lines
2.7 KiB
JSON

{
"deviceMapping": {
"id": [
"zhimi.heater.za1"
],
"propertyMethod": "get_prop",
"maxProperties": 2,
"channels": [
{
"property": "power",
"friendlyName": "Power",
"channel": "power",
"channelType": "power",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_power",
"parameterType": "ONOFF"
}
]
},
{
"property": "target_temperature",
"friendlyName": "Target Temperature",
"channel": "target_temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"actions": [
{
"command": "set_target_temperature",
"parameterType": "NUMBER"
}
],
"category": "temperature",
"tags": [
"Setpoint",
"Temperature"
]
},
{
"property": "brightness",
"friendlyName": "Brightness",
"channel": "brightness",
"channelType": "brightness",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_brightness",
"parameterType": "NUMBER"
}
]
},
{
"property": "buzzer",
"friendlyName": "Buzzer Status",
"channel": "buzzer",
"channelType": "buzzer",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_buzzer",
"parameterType": "ONOFF"
}
]
},
{
"property": "relative_humidity",
"friendlyName": "Relative Humidity",
"channel": "relative_humidity",
"type": "Number",
"refresh": true,
"actions": []
},
{
"property": "child_lock",
"friendlyName": "Child Lock",
"channel": "childlock",
"channelType": "childlock",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_child_lock",
"parameterType": "ONOFF"
}
]
},
{
"property": "theqmostat",
"friendlyName": "HW Switch",
"channel": "HWSwitch",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_theqmostat",
"parameterType": "ONOFF"
}
]
},
{
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperatureC",
"type": "Number:Temperature",
"unit": "CELCIUS",
"refresh": true,
"actions": [],
"category": "temperature",
"tags": [
"Measurement",
"Temperature"
]
},
{
"property": "use_time",
"friendlyName": "Run Time",
"channel": "usedhours",
"channelType": "usedhours",
"type": "Number:Time",
"unit": "hours",
"refresh": true,
"transformation": "SecondsToHours",
"actions": [],
"category": "time"
}
],
"experimental": true
}
}