mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Update slixmpp to 1.10.0 (#149374)
This commit is contained in:
parent
4ea7ad52b1
commit
a33760bc1a
@ -6,5 +6,5 @@
|
|||||||
"iot_class": "cloud_push",
|
"iot_class": "cloud_push",
|
||||||
"loggers": ["pyasn1", "slixmpp"],
|
"loggers": ["pyasn1", "slixmpp"],
|
||||||
"quality_scale": "legacy",
|
"quality_scale": "legacy",
|
||||||
"requirements": ["slixmpp==1.8.5", "emoji==2.8.0"]
|
"requirements": ["slixmpp==1.10.0", "emoji==2.8.0"]
|
||||||
}
|
}
|
||||||
|
@ -150,7 +150,8 @@ async def async_send_message( # noqa: C901
|
|||||||
|
|
||||||
self.loop = hass.loop
|
self.loop = hass.loop
|
||||||
|
|
||||||
self.force_starttls = use_tls
|
self.enable_starttls = use_tls
|
||||||
|
self.enable_direct_tls = use_tls
|
||||||
self.use_ipv6 = False
|
self.use_ipv6 = False
|
||||||
self.add_event_handler("failed_all_auth", self.disconnect_on_login_fail)
|
self.add_event_handler("failed_all_auth", self.disconnect_on_login_fail)
|
||||||
self.add_event_handler("session_start", self.start)
|
self.add_event_handler("session_start", self.start)
|
||||||
@ -169,7 +170,7 @@ async def async_send_message( # noqa: C901
|
|||||||
self.register_plugin("xep_0128") # Service Discovery
|
self.register_plugin("xep_0128") # Service Discovery
|
||||||
self.register_plugin("xep_0363") # HTTP upload
|
self.register_plugin("xep_0363") # HTTP upload
|
||||||
|
|
||||||
self.connect(force_starttls=self.force_starttls, use_ssl=False)
|
self.connect()
|
||||||
|
|
||||||
async def start(self, event):
|
async def start(self, event):
|
||||||
"""Start the communication and sends the message."""
|
"""Start the communication and sends the message."""
|
||||||
|
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@ -2793,7 +2793,7 @@ skyboxremote==0.0.6
|
|||||||
slack_sdk==3.33.4
|
slack_sdk==3.33.4
|
||||||
|
|
||||||
# homeassistant.components.xmpp
|
# homeassistant.components.xmpp
|
||||||
slixmpp==1.8.5
|
slixmpp==1.10.0
|
||||||
|
|
||||||
# homeassistant.components.smart_meter_texas
|
# homeassistant.components.smart_meter_texas
|
||||||
smart-meter-texas==0.5.5
|
smart-meter-texas==0.5.5
|
||||||
|
Loading…
x
Reference in New Issue
Block a user