diff --git a/custom_components/xiaomi_home/miot/specs/spec_add.json b/custom_components/xiaomi_home/miot/specs/spec_add.json index 8d14aec..6ee9fbb 100644 --- a/custom_components/xiaomi_home/miot/specs/spec_add.json +++ b/custom_components/xiaomi_home/miot/specs/spec_add.json @@ -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",