Skip to content

Commit

Permalink
Small fix for compatibility with HA 2024+
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexwijn committed Jan 6, 2024
1 parent 9a4d822 commit 6fed424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/sat/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async def async_step_user(self, _user_input=None) -> FlowResult:
menu_options = []

# Since we rely on the availability logic in 2023.5, we do not support it below it.
if MAJOR_VERSION >= 2023 and MINOR_VERSION >= 5:
if MAJOR_VERSION >= 2023 and (MINOR_VERSION >= 5 or MAJOR_VERSION > 2023):
menu_options.append("mqtt")

menu_options.append("serial")
Expand Down

0 comments on commit 6fed424

Please sign in to comment.