-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add native cast support #439
Comments
Hi @felipecrs , sounds like a good suggestion.
I think it hinges on this: whether or not / how a custom card can actually do this . It has to be via HA in order to get the HA media devices, which means it depends on HA having externalized that support somehow. The HA frontend is an enormous Javascript blob, and it is tricky -- and in some cases not possible -- for custom cards to get access to parts of it (here's an example of where the card needs to fake load a picture glance card to get access to the editor widgets). i.e. more research required on whether this is feasible right now. |
Hmm. Maybe this is less of a big deal than I was thinking:
UX:
There'd be no way to actually control the media playing on the device, though. But maybe that's okay. |
Maybe, just maybe, the But certainly these two things (detect whether it's playing the given media or not), or stoping it, can be later enhancements. |
Start playing around with this, a few things:
|
Will be in v4.0.0 . |
A cast button to leverage the recently introduced Home Assistant Play Media action to show a camera stream in a Chromecast enabled media player.
When clicked, it would open a dropdown menu allowing to select which media player to cast the current camera stream to.
When selected, the card can then trigger the Play Media action passing in the current camera entity as input, in the selected media player.
It would be disabled for birdseye, by the way.
I haven't tried to build my own custom buttons yet (and I wonder how far it would be possible), but the following are the reasons why I'm opening this suggestion:
tap_action
syntax provides the means to call a Play Media action (which is not a service, by the way). But I suppose the card can do it, though.What do you think?
The text was updated successfully, but these errors were encountered: