Skip to content

Commit

Permalink
Remove line which never could be hit
Browse files Browse the repository at this point in the history
  • Loading branch information
bramstroker committed Jul 28, 2022
1 parent 2fbfc68 commit 8bc047d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/powercalc/sensor.py
Expand Up @@ -465,8 +465,6 @@ async def create_sensors(
if CONF_CREATE_GROUP in config:
group_entities = new_sensors + existing_sensors
group_name = config.get(CONF_CREATE_GROUP)
if not group_entities:
_LOGGER.error("Could not create group %s, no entities resolved", group_name)
group_sensors = await create_group_sensors(
group_name,
get_merged_sensor_configuration(global_config, config, validate=False),
Expand Down

0 comments on commit 8bc047d

Please sign in to comment.