Skip to content

Commit

Permalink
Bump pyblu to 1.0.4 (#128482)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisChrist authored and frenck committed Oct 18, 2024
1 parent 146768f commit b018d4a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/bluesound/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/bluesound",
"iot_class": "local_polling",
"requirements": ["pyblu==1.0.3"],
"requirements": ["pyblu==1.0.4"],
"zeroconf": [
{
"type": "_musc._tcp.local."
Expand Down
2 changes: 2 additions & 0 deletions homeassistant/components/bluesound/media_player.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,8 @@ def media_position(self) -> int | None:
return None

position = self._status.seconds
if position is None:
return None

if mediastate == MediaPlayerState.PLAYING:
position += (dt_util.utcnow() - self._last_status_update).total_seconds()
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1780,7 +1780,7 @@ pybbox==0.0.5-alpha
pyblackbird==0.6

# homeassistant.components.bluesound
pyblu==1.0.3
pyblu==1.0.4

# homeassistant.components.neato
pybotvac==0.0.25
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1448,7 +1448,7 @@ pybalboa==1.0.2
pyblackbird==0.6

# homeassistant.components.bluesound
pyblu==1.0.3
pyblu==1.0.4

# homeassistant.components.neato
pybotvac==0.0.25
Expand Down

0 comments on commit b018d4a

Please sign in to comment.