Skip to content

Commit

Permalink
fix: config flow protocol default (#354)
Browse files Browse the repository at this point in the history
  • Loading branch information
chemelli74 authored Oct 9, 2024
1 parent c5789d1 commit c8f6d0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/midea_ac_lan/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ async def async_step_manually(
): int,
vol.Required(
CONF_PROTOCOL,
default=protocol or ProtocolVersion.V3,
default=[protocol] if protocol else ProtocolVersion.V3,
): vol.In(
protocol or ProtocolVersion,
),
Expand Down

0 comments on commit c8f6d0b

Please sign in to comment.