[miio] Add temperature value to chuangmi.plug.v1 (#8832)

Based on: https://github.com/marcelrv/openhab2/pull/12

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel
2020-10-22 18:06:57 +02:00
committed by GitHub
parent bc518e489e
commit 49580b59bb
3 changed files with 12 additions and 1 deletions

View File

@@ -91,7 +91,6 @@ public enum MiIoDevices {
MRBOND_AIRER_M1PRO("mrbond.airer.m1pro", "Mr Bond M1 Pro Smart Clothes Dryer", THING_TYPE_BASIC),
MRBOND_AIRER_M1S("mrbond.airer.m1s", "Mr Bond M1 Smart Clothes Dryer", THING_TYPE_BASIC),
MRBOND_AIRER_M1SUPER("mrbond.airer.m1super", "Mr Bond M1 Super Smart Clothes Dryer", THING_TYPE_BASIC),
PHILIPS_R1("philips.light.sread1", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
PHILIPS_SR1("philips.light.sread1", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
PHILIPS_SR2("philips.light.sread2", "Xiaomi Philips Eyecare Smart Lamp 2", THING_TYPE_BASIC),
PHILIPS_C("philips.light.ceiling", "Xiaomi Philips LED Ceiling Lamp", THING_TYPE_BASIC),

View File

@@ -32,6 +32,16 @@
"parameterType": "ONOFFPARA"
}
]
},
{
"property": "temperature",
"friendlyName": "Temperature",
"channel": "temperature",
"channelType": "temperature",
"type": "Number",
"refresh": true,
"ChannelGroup": "",
"actions": []
}
]
}