home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
74.18k stars 31.15k forks source link

Lyrion / Squeezebox integration playing status not available #132163

Closed bertsmelik closed 13 hours ago

bertsmelik commented 21 hours ago

The problem

Recently moved from LMS 8 to LMS and now my automation stopped working. Turns out the entity tested is no longer there:

What version of Home Assistant Core has the issue?

core-2024.11.3

What was the last working version of Home Assistant Core?

core-2024.11.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Squeezebox (Lyrion Music Server)

Link to integration documentation on our website

https://www.home-assistant.io/integrations/squeezebox

Diagnostics information

No response

Example YAML snippet

alias: "Schakel: na-versterker mediaspeler woonkamer"
description: In- en uitschakelen na-versterker als mediaspeler wordt in- of uitgeschakeld
triggers:
  - entity_id:
      - media_player.woonkamer
    to: playing
    id: speler_gaat_aan
    trigger: state
  - entity_id:
      - media_player.woonkamer
    from: playing
    id: speler_gaat_uit
    trigger: state

Anything in the logs that might be useful for us?

NA

Additional information

HASOS is running in Proxmox VM LMS is running in Proxmox CT (privileged)

home-assistant[bot] commented 21 hours ago

Hey there @rajlaud, @pssc, @petes-uk, mind taking a look at this issue as it has been labeled with an integration (squeezebox) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `squeezebox` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign squeezebox` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


squeezebox documentation squeezebox source (message by IssueLinks)

peteS-UK commented 17 hours ago

When you say you've moved to Lms, I assume you mean LMS9. Is that right? Shouldn't be any problems - I also run 9 in the same container setup as you. What entities do you see under the integration? If there's nothing there, have you tried removing and re-adding the config. Would be good to see the output from running the integration with debug mode enabled.

bertsmelik commented 16 hours ago

Good day Pete!

Thanks for picking this up so quickly! I moved to 9 indeed, you guessed it right. In the settings I see 10 entities:

No players and/or their status.

I will run with debugging logging and send you the results thereof

Also, I do not know how to remove/add the config. Maybe you can give me directions in doing that?

Will get back!

Best regards, Bert Smelik

Op di 3 dec 2024 om 15:44 schreef peteS-UK @.***>:

When you say you've moved to Lms, I assume you mean LMS9. Is that right? Shouldn't be any problems - I also run 9 in the same container setup as you. What entities do you see under the integration? If there's nothing there, have you tried removing and re-adding the config. Would be good to see the output from running the integration with debug mode enabled.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/132163#issuecomment-2514768956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJXXQFG7KPG5URJWSU7OID2DW7VDAVCNFSM6AAAAABS5QZ6KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJUG43DQOJVGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Groet, Bert Smelik

bertsmelik commented 15 hours ago

Here I am again Pete.

Turned on debugging but then got "a bright idea" and restarted HA. And presto: the players are now shown as devices in the integration. Tested the automation (which turns on/off the power to the amplifier as the player is turned on/off) and it works perfectly now. My apologies for the disturbance and once again: thanks for your fast response!

Best regards, Bert

Op di 3 dec 2024 om 17:13 schreef Bert Smelik @.***>:

Good day Pete!

Thanks for picking this up so quickly! I moved to 9 indeed, you guessed it right. In the settings I see 10 entities:

  • Mijn Muziek Library rescan
  • Mijn Muziek Needs restart
  • Mijn Muziek Last scan
  • Mijn Muziek Player count
  • Mijn Muziek Player count off service
  • Mijn Muziek Totaal aantal albums
  • Mijn Muziek Totaal aantal artiesten
  • Mijn Muziek Totaal aantal nummers
  • Mijn Muziek Total genres
  • Mijn Muziek Totale duur

No players and/or their status.

I will run with debugging logging and send you the results thereof

Also, I do not know how to remove/add the config. Maybe you can give me directions in doing that?

Will get back!

Best regards, Bert Smelik

Op di 3 dec 2024 om 15:44 schreef peteS-UK @.***>:

When you say you've moved to Lms, I assume you mean LMS9. Is that right? Shouldn't be any problems - I also run 9 in the same container setup as you. What entities do you see under the integration? If there's nothing there, have you tried removing and re-adding the config. Would be good to see the output from running the integration with debug mode enabled.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/132163#issuecomment-2514768956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJXXQFG7KPG5URJWSU7OID2DW7VDAVCNFSM6AAAAABS5QZ6KSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJUG43DQOJVGY . You are receiving this because you authored the thread.Message ID: @.***>

-- Groet, Bert Smelik

-- Groet, Bert Smelik

peteS-UK commented 13 hours ago

Glad it was an easy fix. If you see odd things when Lms changed, it's often worth just restarting the integration by clicking on the three dots and Reload

peteS-UK commented 13 hours ago

I'll close this one now. Any future issues, please feel free to open a new one

peteS-UK commented 13 hours ago

@home-assistant close