Skip to content

Commit

Permalink
fix: correct key type from 'str' to 'int' in SENSOR_MIXER_KEY diction…
Browse files Browse the repository at this point in the history
…ary generation
  • Loading branch information
jontofront committed Dec 11, 2024
1 parent 822ca1a commit b466abf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/econet300/const.py
Original file line number Diff line number Diff line change
@@ -83,7 +83,7 @@

# Dynamically generate SENSOR_MIXER_KEY
SENSOR_MIXER_KEY = {
str(i): {f"{MIXER_AVAILABILITY_KEY}{i}", f"{MIXER_SET_AVAILABILITY_KEY}{i}"}
i: {f"{MIXER_AVAILABILITY_KEY}{i}", f"{MIXER_SET_AVAILABILITY_KEY}{i}"}
for i in range(1, AVAILABLE_NUMBER_OF_MIXERS + 1)
}

0 comments on commit b466abf

Please sign in to comment.