mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2025-08-03 14:00:27 +08:00
fix: set the device on when the switch status is False or None (#1303)
Some checks failed
Some checks failed
* fix: set the air conditioner on if its switch status property is False or None (#1277) * feat: add a standalone switch for 090615.aircondition.ktf * fix: add an alongside switch for juhl.aircondition.hvac (#1287)
This commit is contained in:
@ -1,5 +1,23 @@
|
||||
{
|
||||
"urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf:1": [
|
||||
{
|
||||
"iid": 2,
|
||||
"type": "urn:miot-spec-v2:service:switch:0000780C:090615-ktf:1",
|
||||
"description": "AC Switch",
|
||||
"properties": [
|
||||
{
|
||||
"iid": 1,
|
||||
"type": "urn:miot-spec-v2:property:on:00000006:090615-ktf:1",
|
||||
"description": "Switch Status",
|
||||
"format": "bool",
|
||||
"access": [
|
||||
"read",
|
||||
"write",
|
||||
"notify"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"iid": 4,
|
||||
"type": "urn:miot-spec-v2:service:environment:0000780A:090615-ktf:1",
|
||||
@ -24,6 +42,26 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"urn:miot-spec-v2:device:air-conditioner:0000A004:juhl-hvac:1": [
|
||||
{
|
||||
"iid": 2,
|
||||
"type": "urn:miot-spec-v2:service:switch:0000780C:juhl-hvac:1",
|
||||
"description": "AC Switch",
|
||||
"properties": [
|
||||
{
|
||||
"iid": 1,
|
||||
"type": "urn:miot-spec-v2:property:on:00000006:juhl-hvac:1",
|
||||
"description": "Switch Status",
|
||||
"format": "bool",
|
||||
"access": [
|
||||
"read",
|
||||
"write",
|
||||
"notify"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"urn:miot-spec-v2:device:airer:0000A00D:hyd-lyjpro:1": [
|
||||
{
|
||||
"iid": 3,
|
||||
|
Reference in New Issue
Block a user