Skip to content

Commit

Permalink
Mixer sensor key change
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilKurkianec committed Jan 30, 2024
1 parent bb45f63 commit d8e633e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/econet300/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def create_mixer_sensor_entity_description(
"Creating Mixer entity description for key: %s, and type : %s", key, entity_type
)
entity_description = EconetSensorEntityDescription(
key=f"{entity_type}{key}",
key=str(key),
translation_key=camel_to_snake(f"{entity_type}{key}"),
icon=ENTITY_ICON.get(entity_type, None),
native_unit_of_measurement=ENTITY_UNIT_MAP.get(entity_type, None),
Expand Down

0 comments on commit d8e633e

Please sign in to comment.