fix: update device serial number in JackeryHome sensor

- Changed the device serial number from an empty string to a specific value for improved identification and functionality.
This commit is contained in:
不求圣剑
2025-11-18 16:41:54 +08:00
parent 66e449ae3d
commit 7181579d66

View File

@@ -208,7 +208,7 @@ class JackeryHomeSensor(SensorEntity):
self._attr_native_value = None
self._attr_available = False
self._data_task = None
self._device_sn = "" # 设备序列号(从 LWT 消息中获取)
self._device_sn = "26392658575364" # 设备序列号(从 LWT 消息中获取)
self._attr_should_poll = False
self._attr_has_entity_name = True
# 获取 meter_sn对于功率传感器使用对应的 _power 键