From 4f92e9ef5defa419377f07f5f048516012d85101 Mon Sep 17 00:00:00 2001 From: Jimmo-o <46884440+Jimmo-o@users.noreply.github.com> Date: Sun, 23 Mar 2025 14:49:05 +0800 Subject: [PATCH] fix: correct unit and icon for hhcc-v1 --- custom_components/xiaomi_home/miot/specs/spec_modify.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/custom_components/xiaomi_home/miot/specs/spec_modify.yaml b/custom_components/xiaomi_home/miot/specs/spec_modify.yaml index fd35c03..fa2e6f8 100644 --- a/custom_components/xiaomi_home/miot/specs/spec_modify.yaml +++ b/custom_components/xiaomi_home/miot/specs/spec_modify.yaml @@ -121,3 +121,11 @@ urn:miot-spec-v2:device:outlet:0000A002:chuangmi-212a01:3: expr: round(src_value*6/1000000, 3) urn:miot-spec-v2:device:outlet:0000A002:chuangmi-212a01:1: urn:miot-spec-v2:device:outlet:0000A002:chuangmi-212a01:3 urn:miot-spec-v2:device:outlet:0000A002:chuangmi-212a01:2: urn:miot-spec-v2:device:outlet:0000A002:chuangmi-212a01:3 +urn:miot-spec-v2:device:plant-monitor:0000A030:hhcc-v1:1: + prop.2.1: + name: moisture + icon: mdi:watering-can + prop.2.2: + name: soil_ec + icon: mdi:sprout-outline + unit: μS/cm