Bump pyblu to 2.0.1 (#143178)

This commit is contained in:
Louis Christ 2025-04-19 10:41:50 +02:00 committed by GitHub
parent 1e89f3ec9a
commit 7de5646d6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 4 deletions

View File

@ -6,7 +6,7 @@
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/bluesound", "documentation": "https://www.home-assistant.io/integrations/bluesound",
"iot_class": "local_polling", "iot_class": "local_polling",
"requirements": ["pyblu==2.0.0"], "requirements": ["pyblu==2.0.1"],
"zeroconf": [ "zeroconf": [
{ {
"type": "_musc._tcp.local." "type": "_musc._tcp.local."

View File

@ -330,7 +330,12 @@ class BluesoundPlayer(CoordinatorEntity[BluesoundCoordinator], MediaPlayerEntity
if self._status.input_id is not None: if self._status.input_id is not None:
for input_ in self._inputs: for input_ in self._inputs:
if input_.id == self._status.input_id: # the input might not have an id => also try to match on the stream_url/url
# we have to use both because neither matches all the time
if (
input_.id == self._status.input_id
or input_.url == self._status.stream_url
):
return input_.text return input_.text
for preset in self._presets: for preset in self._presets:

2
requirements_all.txt generated
View File

@ -1852,7 +1852,7 @@ pybbox==0.0.5-alpha
pyblackbird==0.6 pyblackbird==0.6
# homeassistant.components.bluesound # homeassistant.components.bluesound
pyblu==2.0.0 pyblu==2.0.1
# homeassistant.components.neato # homeassistant.components.neato
pybotvac==0.0.26 pybotvac==0.0.26

View File

@ -1530,7 +1530,7 @@ pybalboa==1.1.3
pyblackbird==0.6 pyblackbird==0.6
# homeassistant.components.bluesound # homeassistant.components.bluesound
pyblu==2.0.0 pyblu==2.0.1
# homeassistant.components.neato # homeassistant.components.neato
pybotvac==0.0.26 pybotvac==0.0.26