Update sonos docs for battery sensors (#17591)

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
This commit is contained in:
J. Nick Koston 2021-04-25 11:36:43 -10:00 committed by GitHub
parent 76a6a2162e
commit fb07d72d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,6 +3,7 @@ title: Sonos
description: Instructions on how to integrate Sonos devices into Home Assistant. description: Instructions on how to integrate Sonos devices into Home Assistant.
ha_category: ha_category:
- Media Player - Media Player
- Sensor
featured: true featured: true
ha_release: 0.7.3 ha_release: 0.7.3
ha_iot_class: Local Push ha_iot_class: Local Push
@ -17,6 +18,14 @@ The `sonos` integration allows you to control your [Sonos](https://www.sonos.com
{% include integrations/config_flow.md %} {% include integrations/config_flow.md %}
## Battery support
Battery sensors are currently supported for the `Sonos Roam` and `Sonos Move` devices.
Besides showing the current battery capacity, these sensors provide additional attributes:
- `charging`: Indicates if the speaker is currently connected to an external power source.
- `power_source`: The current power source of the speaker, such as `BATTERY`, `SONOS_CHARGING_RING`, or `USB_POWER`.
## Services ## Services
The Sonos integration makes various custom services available. The Sonos integration makes various custom services available.