Move Intellifire error codes to individual sensors (#68249)

This commit is contained in:
Jeef 2022-03-30 01:41:25 -06:00 committed by GitHub
parent a5c729b724
commit 18517fda65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 84 additions and 9 deletions

View file

@ -114,12 +114,6 @@ 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",