From b71d332a10a6380886bb7b12a6d5dd3d377f5073 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Thu, 12 Jan 2023 09:39:49 +0200 Subject: [PATCH] Cleanup Shelly sensor description (#85732) --- homeassistant/components/shelly/sensor.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/homeassistant/components/shelly/sensor.py b/homeassistant/components/shelly/sensor.py index 70a29857708..6d41a42ad88 100644 --- a/homeassistant/components/shelly/sensor.py +++ b/homeassistant/components/shelly/sensor.py @@ -361,7 +361,6 @@ RPC_SENSORS: Final = { value=lambda status, _: round(status, 1), device_class=SensorDeviceClass.TEMPERATURE, state_class=SensorStateClass.MEASUREMENT, - entity_registry_enabled_default=True, ), "rssi": RpcSensorDescription( key="wifi", @@ -392,7 +391,6 @@ RPC_SENSORS: Final = { value=lambda status, _: round(status, 1), device_class=SensorDeviceClass.HUMIDITY, state_class=SensorStateClass.MEASUREMENT, - entity_registry_enabled_default=True, ), "battery": RpcSensorDescription( key="devicepower:0", @@ -402,7 +400,6 @@ RPC_SENSORS: Final = { value=lambda status, _: status["percent"], device_class=SensorDeviceClass.BATTERY, state_class=SensorStateClass.MEASUREMENT, - entity_registry_enabled_default=True, entity_category=EntityCategory.DIAGNOSTIC, ), "voltmeter": RpcSensorDescription( @@ -413,7 +410,6 @@ RPC_SENSORS: Final = { value=lambda status, _: round(float(status), 2), device_class=SensorDeviceClass.VOLTAGE, state_class=SensorStateClass.MEASUREMENT, - entity_registry_enabled_default=True, available=lambda status: status is not None, ), "analoginput": RpcSensorDescription( @@ -423,7 +419,6 @@ RPC_SENSORS: Final = { native_unit_of_measurement=PERCENTAGE, device_class=SensorDeviceClass.BATTERY, state_class=SensorStateClass.MEASUREMENT, - entity_registry_enabled_default=True, ), }