diff --git a/custom_components/shelly/__init__.py b/custom_components/shelly/__init__.py index cec9257..feed440 100755 --- a/custom_components/shelly/__init__.py +++ b/custom_components/shelly/__init__.py @@ -170,6 +170,11 @@ async def start_up(self): entity.entity_id.endswith("_over_power_attr") \ ): entities_to_remove.append(entity.entity_id) + if entity.entity_id.startswith("sensor.") and \ + entity.entity_id.endswith("_consumption") and \ + not entity.entity_id.endswith("total_consumption") and \ + not entity.entity_id.endswith("current_consumption"): + entities_to_remove.append(entity.entity_id) if entity.entity_id.startswith("binary_sensor.") and \ entity.entity_id.endswith("_cloud_status_attr"): entities_to_remove.append(entity.entity_id)