Check status field for UPS online binary sensor (#30144)
Avoids issue where status was previously reported as offline when battery was low or UPS was over voltage
This commit is contained in:
1 parent
6b519499a7
commit
8a1fc8b8f0
2 files changed
+4
-4
No files matched your search
@@ -18,11 +18,11 @@ DEFAULT_HOST = "localhost"
|
||||
DEFAULT_PORT = 3551
|
||||
DOMAIN = "apcupsd"
|
||||
|
||||
KEY_STATUS = "STATUS"
|
||||
KEY_STATUS = "STATFLAG"
|
||||
|
||||
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=60)
|
||||
|
||||
VALUE_ONLINE = "ONLINE"
|
||||
VALUE_ONLINE = 8
|
||||
|
||||
CONFIG_SCHEMA = vol.Schema(
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user