Re: Home Assistant Squeezebox Integration Breaking Change
goharbourview123 <goharbourview123.ap5j1b-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.general |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
malpeli wrote: > Unfortunately for us, we won't be able to perform a call method or query > directly from Home Assistant and will have to use their commands > directly from the HA interface. I'm not a Home Assistant developer, but I have to say from my understanding that this is simply untrue - the squeezebox.call_method and squeezebox.call_query services are not being deprecated as part of this change. You will still be able to use these services in scripts and automations. malpeli wrote: > we'll have to use media player join and unjoin instead of LMS sync and > unsync commands. The down shot of which is that if you join two > squeezeboxes in a Home Assistant Automation for, say, when you leave one > room with music playing and enter another with the music following you > via an LMS sync, it won't sync them up until the next track starts > playing... I've already changed my sync/unsync commands in my scripts and automations to the new join/unjoin commands, and I have to say that this is not my experience at all - synchronisation of players via Home Assistant seems to be working just as it ever was. I don't know this for sure, but my impression is that these new commands still call the same procedures via the JSON-RPC API under the integration's hood. In any case, you could always test this by sending a sync command via the squeezebox.call_method service if you prefer. ------------------------------------------------------------------------ goharbourview123's Profile: http://forums.slimdevices.com/member.php?userid=23031 View this thread: http://forums.slimdevices.com/showthread.php?t=116660