upgrade homeassistant

This commit is contained in:
2026-02-10 20:02:37 +01:00
parent 44d0750dd7
commit 2dacbb9a3e
9 changed files with 1130 additions and 977 deletions

View File

@@ -1,7 +1,6 @@
"""Constants for the SEMS integration."""
import voluptuous as vol
from homeassistant.const import CONF_PASSWORD, CONF_SCAN_INTERVAL, CONF_USERNAME
DOMAIN = "sems"
@@ -23,3 +22,24 @@ SEMS_CONFIG_SCHEMA = vol.Schema(
): int, # , default=DEFAULT_SCAN_INTERVAL
}
)
AC_EMPTY = 6553.5
AC_CURRENT_EMPTY = 6553.5
AC_FEQ_EMPTY = 655.35
STATUS_LABELS = {-1: "Offline", 0: "Waiting", 1: "Normal", 2: "Fault"}
class GOODWE_SPELLING:
"""Constants for correcting GoodWe API spelling errors."""
battery = "bettery"
batteryStatus = "betteryStatus"
homeKit = "homKit"
temperature = "tempperature"
hasEnergyStatisticsCharts = "hasEnergeStatisticsCharts"
energyStatisticsCharts = "energeStatisticsCharts"
energyStatisticsTotals = "energeStatisticsTotals"
thisMonthTotalE = "thismonthetotle"
lastMonthTotalE = "lastmonthetotle"