IntelliFire Diagnostic Error Sensor (#67403)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Jeef 2022-03-15 16:52:19 -06:00 committed by GitHub
parent 6f61ed8799
commit 484f723875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 4 deletions

View File

@ -3,8 +3,7 @@
"name": "IntelliFire",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/intellifire",
"requirements": ["intellifire4py==0.9.9"],
"dependencies": [],
"requirements": ["intellifire4py==1.0.1"],
"codeowners": ["@jeeftor"],
"iot_class": "local_polling",
"loggers": ["intellifire4py"]

View File

@ -114,6 +114,12 @@ INTELLIFIRE_SENSORS: tuple[IntellifireSensorEntityDescription, ...] = (
value_fn=lambda data: data.connection_quality,
entity_registry_enabled_default=False,
),
IntellifireSensorEntityDescription(
key="errors",
name="Errors",
entity_category=EntityCategory.DIAGNOSTIC,
value_fn=lambda data: data.error_codes_string,
),
IntellifireSensorEntityDescription(
key="ecm_latency",
name="ECM Latency",

View File

@ -873,7 +873,7 @@ influxdb-client==1.24.0
influxdb==5.3.1
# homeassistant.components.intellifire
intellifire4py==0.9.9
intellifire4py==1.0.1
# homeassistant.components.iotawatt
iotawattpy==0.1.0

View File

@ -599,7 +599,7 @@ influxdb-client==1.24.0
influxdb==5.3.1
# homeassistant.components.intellifire
intellifire4py==0.9.9
intellifire4py==1.0.1
# homeassistant.components.iotawatt
iotawattpy==0.1.0