Update battery description after rework (#17618)

This commit is contained in:
jjlawren 2021-04-27 10:25:57 -05:00 committed by GitHub
parent 74b6031316
commit 91c0ba773b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,11 +22,7 @@ The `sonos` integration allows you to control your [Sonos](https://www.sonos.com
## 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`.
Battery sensors are currently supported for the `Sonos Roam` and `Sonos Move` devices. For each speaker with a battery, a `sensor` showing the current battery charge level and a `binary_sensor` showing the power state of the speaker are created. The `binary_sensor` reports if the speaker is currently powered by an external source and its `power_source` attribute shows which specific source is providing the current power. This source attribute can be one of `BATTERY`, `SONOS_CHARGING_RING` if using wireless charging, or `USB_POWER` if charging via USB cable. Note that the Roam will report `SONOS_CHARGING_RING` even when using a generic Qi charger.
## Services