From 88b7a9fccc2750829721c017bd590de6d3ed9114 Mon Sep 17 00:00:00 2001 From: Teemu R Date: Sat, 19 Feb 2022 20:22:49 +0100 Subject: [PATCH] Enable consumable sensors per default for xiaomi_miio vacuums (#66843) Co-authored-by: Franck Nijhof --- homeassistant/components/xiaomi_miio/sensor.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 6095bfe5647..36a8cd24213 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -520,7 +520,6 @@ VACUUM_SENSORS = { key=ATTR_CONSUMABLE_STATUS_MAIN_BRUSH_LEFT, parent_key=VacuumCoordinatorDataAttributes.consumable_status, name="Main Brush Left", - entity_registry_enabled_default=False, entity_category=EntityCategory.DIAGNOSTIC, ), f"consumable_{ATTR_CONSUMABLE_STATUS_SIDE_BRUSH_LEFT}": XiaomiMiioSensorDescription( @@ -529,7 +528,6 @@ VACUUM_SENSORS = { key=ATTR_CONSUMABLE_STATUS_SIDE_BRUSH_LEFT, parent_key=VacuumCoordinatorDataAttributes.consumable_status, name="Side Brush Left", - entity_registry_enabled_default=False, entity_category=EntityCategory.DIAGNOSTIC, ), f"consumable_{ATTR_CONSUMABLE_STATUS_FILTER_LEFT}": XiaomiMiioSensorDescription( @@ -538,7 +536,6 @@ VACUUM_SENSORS = { key=ATTR_CONSUMABLE_STATUS_FILTER_LEFT, parent_key=VacuumCoordinatorDataAttributes.consumable_status, name="Filter Left", - entity_registry_enabled_default=False, entity_category=EntityCategory.DIAGNOSTIC, ), f"consumable_{ATTR_CONSUMABLE_STATUS_SENSOR_DIRTY_LEFT}": XiaomiMiioSensorDescription( @@ -547,7 +544,6 @@ VACUUM_SENSORS = { key=ATTR_CONSUMABLE_STATUS_SENSOR_DIRTY_LEFT, parent_key=VacuumCoordinatorDataAttributes.consumable_status, name="Sensor Dirty Left", - entity_registry_enabled_default=False, entity_category=EntityCategory.DIAGNOSTIC, ), }