diff --git a/custom_components/xiaomi_home/miot/specs/spec_add.json b/custom_components/xiaomi_home/miot/specs/spec_add.json index 5afb8f3..64f5113 100644 --- a/custom_components/xiaomi_home/miot/specs/spec_add.json +++ b/custom_components/xiaomi_home/miot/specs/spec_add.json @@ -1,4 +1,29 @@ { + "urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf:1": [ + { + "iid": 4, + "type": "urn:miot-spec-v2:service:environment:0000780A:090615-ktf:1", + "description": "Environment", + "properties": [ + { + "iid": 2, + "type": "urn:miot-spec-v2:property:temperature:00000020:090615-ktf:1", + "description": "Temperature", + "format": "float", + "access": [ + "read", + "notify" + ], + "unit": "celsius", + "value-range": [ + -30, + 100, + 1 + ] + } + ] + } + ], "urn:miot-spec-v2:device:airer:0000A00D:hyd-lyjpro:1": [ { "iid": 3, @@ -217,30 +242,5 @@ } ] } - ], - "urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf:1": [ - { - "iid": 5, - "type": "urn:miot-spec-v2:service:environment:0000780A:090615-ktf:2", - "description": "Environment", - "properties": [ - { - "iid": 7, - "type": "urn:miot-spec-v2:property:temperature:00000020:090615-ktf:2", - "description": "Temperature", - "format": "float", - "access": [ - "read", - "notify" - ], - "unit": "celsius", - "value-range": [ - -30, - 100, - 1 - ] - } - ] - } ] } \ No newline at end of file diff --git a/custom_components/xiaomi_home/miot/specs/spec_filter.yaml b/custom_components/xiaomi_home/miot/specs/spec_filter.yaml index 12625ac..c1bca60 100644 --- a/custom_components/xiaomi_home/miot/specs/spec_filter.yaml +++ b/custom_components/xiaomi_home/miot/specs/spec_filter.yaml @@ -1,3 +1,6 @@ +urn:miot-spec-v2:device:air-conditioner:0000A004:090615-ktf: + services: + - '4' urn:miot-spec-v2:device:air-purifier:0000A007:zhimi-ma4: properties: - 9.*