Skip to content

Commit

Permalink
add to debug mixer name
Browse files Browse the repository at this point in the history
  • Loading branch information
jontofront committed Jan 26, 2024
1 parent 9f1ae32 commit db8d7ee
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/econet300/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def create_mixer_sensor_entity_description(
) -> EconetSensorEntityDescription:
"""Create Econect300 mixer sensor entity based on supplied key."""
_LOGGER.debug(
"Creating entity description for key: %s, and type : %s", key, entity_type
"Creating Mixer entity description for key: %s, and type : %s", key, entity_type
)
entity_description = EconetSensorEntityDescription(
key=f"{entity_type}{key}",
Expand All @@ -147,7 +147,7 @@ def create_mixer_sensor_entity_description(
suggested_display_precision=ENTITY_PRECISION.get(entity_type, 0),
process_val=ENTITY_VALUE_PROCESSOR.get(entity_type, lambda x: x),
)
_LOGGER.debug("Created entity description: %s", entity_description)
_LOGGER.debug("Created Mixer entity description: %s", entity_description)
return entity_description


Expand All @@ -164,7 +164,7 @@ def create_mixer_sensors(coordinator: EconetDataCoordinator, api: Econet300Api):
entities.append(MixerSensor(mixer_temp_entity, coordinator, api, i))
else:
_LOGGER.debug(
"Availability key: %s does not exist, entity will not be added",
"Availability Mixer key: %s does not exist, entity will not be added",
mixer_temp_key,
)

Expand All @@ -176,7 +176,7 @@ def create_mixer_sensors(coordinator: EconetDataCoordinator, api: Econet300Api):
entities.append(MixerSensor(mixer_set_temp_entity, coordinator, api, i))
else:
_LOGGER.debug(
"Availability key: %s does not exist, entity will not be added",
"Availability Mixer key: %s does not exist, entity will not be added",
mixer_set_temp_key,
)
return entities
Expand Down

0 comments on commit db8d7ee

Please sign in to comment.