Support dynamic Google Cast groups (#44484)
* Re-add support for dynamic groups * Add tests * Add support for manufacturer * Refactor support for dynamic groups * Bump pychromecast to 7.7.0 * Bump pychromecast to 7.7.1 * Tweak tests * Apply review suggestion
This commit is contained in:
parent
f18880686c
commit
02bfc68842
7 changed files with 489 additions and 59 deletions
|
@ -25,6 +25,7 @@ def discover_chromecast(hass: HomeAssistant, info: ChromecastInfo):
|
|||
_LOGGER.error("Discovered chromecast without uuid %s", info)
|
||||
return
|
||||
|
||||
info = info.fill_out_missing_chromecast_info()
|
||||
if info.uuid in hass.data[KNOWN_CHROMECAST_INFO_KEY]:
|
||||
_LOGGER.debug("Discovered update for known chromecast %s", info)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue