mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Media player: add states (#34692)
This commit is contained in:
parent
edc023f45a
commit
18f069fbc1
@ -20,6 +20,18 @@ Interacts with media players on your network.
|
|||||||
|
|
||||||
{% include integrations/building_block_integration.md %}
|
{% include integrations/building_block_integration.md %}
|
||||||
|
|
||||||
|
## The state of a media player
|
||||||
|
|
||||||
|
A media player can have the following states:
|
||||||
|
|
||||||
|
- **Off**: The media player is turned off and is not accepting commands until turned on.
|
||||||
|
- **On**: The media player is turned on, but no details on its state are currently known.
|
||||||
|
- **Idle**: The media player is turned on and accepting commands, but currently not playing any media. Possibly at some idle home screen.
|
||||||
|
- **Playing**: The media player is currently playing media.
|
||||||
|
- **Paused**: The media player has an active media and is currently paused
|
||||||
|
- **Standby**: The media player is in a low power state, accepting commands.
|
||||||
|
- **Buffering**: The media player is preparing to start playback of media.
|
||||||
|
|
||||||
## Actions
|
## Actions
|
||||||
|
|
||||||
### Media control actions
|
### Media control actions
|
||||||
@ -183,7 +195,7 @@ Allows to group media players together for synchronous playback. Only works on s
|
|||||||
| ---------------------- | -------- | ---------------------------------------------------- |
|
| ---------------------- | -------- | ---------------------------------------------------- |
|
||||||
| `entity_id` | yes | Unjoin this media player from any player groups. |
|
| `entity_id` | yes | Unjoin this media player from any player groups. |
|
||||||
|
|
||||||
### Device class
|
## Device class
|
||||||
|
|
||||||
{% include integrations/device_class_intro.md %}
|
{% include integrations/device_class_intro.md %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user