mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Bump mastodon.py to 2.0.1 (#139701)
* Bump mastodon to 2.0.1 * Fix mypy
This commit is contained in:
parent
f248901ea8
commit
2c44043e6a
@ -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"]
|
||||
}
|
||||
|
@ -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
2
requirements_all.txt
generated
@ -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
|
||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user