Bump mastodon.py to 2.0.1 (#139701)

* Bump mastodon to 2.0.1

* Fix mypy
This commit is contained in:
Andrew Jackson 2025-03-03 18:57:30 +00:00 committed by GitHub
parent f248901ea8
commit 2c44043e6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -7,5 +7,5 @@
"integration_type": "service",
"iot_class": "cloud_polling",
"loggers": ["mastodon"],
"requirements": ["Mastodon.py==1.8.1"]
"requirements": ["Mastodon.py==2.0.1"]
}

View File

@ -52,7 +52,7 @@ async def async_get_service(
if discovery_info is None:
return None
client: Mastodon = discovery_info.get("client")
client = cast(Mastodon, discovery_info.get("client"))
return MastodonNotificationService(hass, client)

2
requirements_all.txt generated
View File

@ -22,7 +22,7 @@ HAP-python==4.9.2
HATasmota==0.10.0
# homeassistant.components.mastodon
Mastodon.py==1.8.1
Mastodon.py==2.0.1
# homeassistant.components.doods
# homeassistant.components.generic

View File

@ -22,7 +22,7 @@ HAP-python==4.9.2
HATasmota==0.10.0
# homeassistant.components.mastodon
Mastodon.py==1.8.1
Mastodon.py==2.0.1
# homeassistant.components.doods
# homeassistant.components.generic