mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +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",
|
"integration_type": "service",
|
||||||
"iot_class": "cloud_polling",
|
"iot_class": "cloud_polling",
|
||||||
"loggers": ["mastodon"],
|
"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:
|
if discovery_info is None:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
client: Mastodon = discovery_info.get("client")
|
client = cast(Mastodon, discovery_info.get("client"))
|
||||||
|
|
||||||
return MastodonNotificationService(hass, 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
|
HATasmota==0.10.0
|
||||||
|
|
||||||
# homeassistant.components.mastodon
|
# homeassistant.components.mastodon
|
||||||
Mastodon.py==1.8.1
|
Mastodon.py==2.0.1
|
||||||
|
|
||||||
# homeassistant.components.doods
|
# homeassistant.components.doods
|
||||||
# homeassistant.components.generic
|
# 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
|
HATasmota==0.10.0
|
||||||
|
|
||||||
# homeassistant.components.mastodon
|
# homeassistant.components.mastodon
|
||||||
Mastodon.py==1.8.1
|
Mastodon.py==2.0.1
|
||||||
|
|
||||||
# homeassistant.components.doods
|
# homeassistant.components.doods
|
||||||
# homeassistant.components.generic
|
# homeassistant.components.generic
|
||||||
|
Loading…
x
Reference in New Issue
Block a user