You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `entity_id` | no | Name of entity to fetch stream from, e.g., `camera.living_room_camera`. |
82
+
| `media_player` | no | Name of media player to play stream on, e.g., `media_player.living_room_tv`. |
83
+
| `format` | yes | Stream format supported by `stream` component and selected `media_player`. Default: `hls`|
84
+
85
+
For example, the following action in an automation would send an `hls` live stream to your chromecast.
86
+
87
+
```yaml
88
+
action:
89
+
service: camera.play_stream
90
+
data:
91
+
entity_id: camera.yourcamera
92
+
media_player: media_player.chromecast
93
+
```
94
+
75
95
### {% linkable_title Test if it works %}
76
96
77
97
A simple way to test if you have set up your `camera` platform correctly, is to use <img src='/images/screenshots/developer-tool-services-icon.png' alt='service developer tool icon' class="no-shadow" height="38" /> **Services** from the **Developer Tools**. Choose your service from the dropdown menu **Service**, enter something like the sample below into the **Service Data** field, and hit **CALL SERVICE**.
0 commit comments