Update slixmpp to 1.10.0 (#149374)

This commit is contained in:
Alex Hermann 2025-07-27 19:18:00 +02:00 committed by GitHub
parent 4ea7ad52b1
commit a33760bc1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

View File

@ -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"]
} }

View File

@ -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
View File

@ -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