1. Fix the issue of duplicate entity names;

2. Fix the issue of some entities being unavailable;
This commit is contained in:
nius
2026-03-27 18:50:25 +08:00
parent 4dfe66b635
commit 3b562b0371
3 changed files with 20 additions and 26 deletions

View File

@@ -288,22 +288,22 @@ SENSORS = {
"device_class": None,
"state_class": SensorStateClass.MEASUREMENT,
},
"is_auto_standby": {
"json_key": "isAutoStandby",
"name": "Auto Standby Allowed",
"unit": None,
"icon": "mdi:power-sleep",
"device_class": None,
"state_class": None, # 1-Allowed, 0-Not Allowed
},
"auto_standby_status": {
"json_key": "autoStandby",
"name": "Auto Standby Mode",
"unit": None,
"icon": "mdi:power-sleep",
"device_class": None,
"state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On
},
# "is_auto_standby": {
# "json_key": "isAutoStandby",
# "name": "Auto Standby Allowed",
# "unit": None,
# "icon": "mdi:power-sleep",
# "device_class": None,
# "state_class": None, # 1-Allowed, 0-Not Allowed
# },
# "auto_standby_status": {
# "json_key": "autoStandby",
# "name": "Auto Standby Mode",
# "unit": None,
# "icon": "mdi:power-sleep",
# "device_class": None,
# "state_class": None, # 0-Invalid, 1-Sleep/Off, 2-On
# },
# Calculated Sensors
"home_power": {