Add Device Class info for customization (#11670)

* Add Device Class info for customization

* ✏️ Tweak

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
This commit is contained in:
Peter Epley 2020-01-08 04:41:00 -05:00 committed by Franck Nijhof
parent 6166ad00c2
commit ebaa3e460e

View File

@ -72,3 +72,10 @@ Currently only supported on [Sonos](/integrations/sonos), [Spotify](/integration
| ---------------------- | -------- | ---------------------------------------------------- |
| `entity_id` | no | Target a specific media player. For example `media_player.spotify`|
| `shuffle` | no | `true`/`false` for enabling/disabling shuffle |
### Device Class
The way media players are displayed in the frontend can be modified in the [customize section](/getting-started/customizing-devices/). The following device classes are supported for media players:
- **tv**: Device is a television type device.
- **speaker**: Device is speaker or stereo type device.