Skip to content

Commit

Permalink
Fixing mixer
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilKurkianec committed Feb 1, 2024
1 parent 14ef3a3 commit 5e3b8ac
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 @@ -161,7 +161,7 @@ def create_mixer_sensors(coordinator: EconetDataCoordinator, api: Econet300Api):

for i in range(1, AVAILABLE_NUMBER_OF_MIXERS + 1):
if str(i) in MIXER_MAP:
for key, value in MIXER_MAP[i]:
for key, value in MIXER_MAP.get(i):
if can_add_mixer(key, coordinator):
mixer_sensor_entity = create_mixer_sensor_entity_description(
key, value
Expand Down

0 comments on commit 5e3b8ac

Please sign in to comment.