From 4138d78bc0ba1a31e7546e37a5d9b6096ef76cab Mon Sep 17 00:00:00 2001
From: Necroneco <caibinqing@live.com>
Date: Wed, 22 Jan 2025 22:18:20 +0800
Subject: [PATCH] =?UTF-8?q?fix(spec):=20=E5=B0=8F=E7=B1=B3=E6=99=BA?=
 =?UTF-8?q?=E8=83=BD=E6=8F=92=E7=BA=BF=E6=9D=BF2=20=E7=94=B5=E5=8E=8B?=
 =?UTF-8?q?=E7=94=B5=E6=B5=81=E5=8D=95=E4=BD=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 custom_components/xiaomi_home/miot/specs/spec_modify.yaml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/custom_components/xiaomi_home/miot/specs/spec_modify.yaml b/custom_components/xiaomi_home/miot/specs/spec_modify.yaml
index 682495d..73faea7 100644
--- a/custom_components/xiaomi_home/miot/specs/spec_modify.yaml
+++ b/custom_components/xiaomi_home/miot/specs/spec_modify.yaml
@@ -48,6 +48,11 @@ urn:miot-spec-v2:device:outlet:0000A002:zimi-zncz01:2:0000C816:
   prop.3.1:
     name: electric-power
     expr: round(src_value/100, 2)
+urn:miot-spec-v2:device:outlet:0000A002:qmi-psv3:1:0000C816:  # 小米智能插线板2
+  prop.3.3:  # voltage
+    unit: mV
+  prop.3.4:  # electric-current
+    unit: mA
 urn:miot-spec-v2:device:router:0000A036:xiaomi-rd08:1:
   prop.2.1:
     name: download-speed