Add Roon volume hooks (#102470)
* Add ability for roon to call HA for volume changes. * Fix merge errors. * Fix mypy errors. * Remove config option for hooks. * WIP split entities. * Tidy, fix test. * Tidy after review. * Remove event tests for now. * Recview comments. * remove trace. * Bump pyroon to 0.1.5, deregister volume hooks. * Remove type annotations. * Add new file .coveragerc. * Remove ghost constants. * Review changes. --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
5a452155fc
commit
6a7e87f1c3
9 changed files with 131 additions and 7 deletions
|
@ -105,7 +105,7 @@ class RoonServer:
|
|||
self._exit = True
|
||||
|
||||
def roonapi_state_callback(self, event, changed_zones):
|
||||
"""Callbacks from the roon api websockets."""
|
||||
"""Callbacks from the roon api websocket with state change."""
|
||||
self.hass.add_job(self.async_update_changed_players(changed_zones))
|
||||
|
||||
async def async_do_loop(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue