Skip to content

Commit

Permalink
Remove deprecated arg
Browse files Browse the repository at this point in the history
  • Loading branch information
toreamun committed Apr 20, 2022
1 parent 44b4b38 commit b3859a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/amshan/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def message_received(mqtt_message: mqtt.models.ReceiveMessage) -> None:

# workaround MQTT bug when topic is re-subscribed at setup at the same
# time as unsubscribe runs as a background job
await asyncio.sleep(1, loop=hass.loop)
await asyncio.sleep(1)

async def _async_validate_host_address(
self, loop: asyncio.AbstractEventLoop, user_input: dict[str, Any]
Expand Down

0 comments on commit b3859a7

Please sign in to comment.