Bump aioesphomeapi to 18.0.1 (#102028)

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
This commit is contained in:
J. Nick Koston 2023-10-14 23:42:22 -10:00 committed by GitHub
parent f9615999db
commit 5b8da03596
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View file

@ -538,7 +538,7 @@ class ESPHomeManager:
on_connect=self.on_connect,
on_disconnect=self.on_disconnect,
zeroconf_instance=self.zeroconf_instance,
name=self.host,
name=entry.data.get(CONF_DEVICE_NAME, self.host),
on_connect_error=self.on_connect_error,
)
self.reconnect_logic = reconnect_logic

View file

@ -16,7 +16,7 @@
"loggers": ["aioesphomeapi", "noiseprotocol"],
"requirements": [
"async-interrupt==1.1.1",
"aioesphomeapi==17.2.0",
"aioesphomeapi==18.0.1",
"bluetooth-data-tools==1.12.0",
"esphome-dashboard-api==1.2.3"
],

View file

@ -237,7 +237,7 @@ aioecowitt==2023.5.0
aioemonitor==1.0.5
# homeassistant.components.esphome
aioesphomeapi==17.2.0
aioesphomeapi==18.0.1
# homeassistant.components.flo
aioflo==2021.11.0

View file

@ -218,7 +218,7 @@ aioecowitt==2023.5.0
aioemonitor==1.0.5
# homeassistant.components.esphome
aioesphomeapi==17.2.0
aioesphomeapi==18.0.1
# homeassistant.components.flo
aioflo==2021.11.0

View file

@ -129,6 +129,7 @@ def mock_client(mock_device_info) -> APIClient:
mock_client.connect = AsyncMock()
mock_client.disconnect = AsyncMock()
mock_client.list_entities_services = AsyncMock(return_value=([], []))
mock_client.address = "127.0.0.1"
mock_client.api_version = APIVersion(99, 99)
with patch("homeassistant.components.esphome.APIClient", mock_client), patch(