From 05de2a2b323ccacf8ac6aa04c6a1996188343bcd Mon Sep 17 00:00:00 2001 From: Matt Schmitt Date: Tue, 12 Jun 2018 11:06:44 -0400 Subject: [PATCH] Define battery_charging attribute (#25) --- docs/entity_index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/entity_index.md b/docs/entity_index.md index 5a54cf8d..b495dac2 100644 --- a/docs/entity_index.md +++ b/docs/entity_index.md @@ -82,6 +82,7 @@ The following `device_state_attributes` are considered standard and should follo | Name | Type | Unit | Constant | Description | ---- | ---- | ---- | -------- | ----------- +| battery_charging | boolean | N/A | `ATTR_BATTERY_CHARGING` | Battery charging status of the entity, shown as a boolean `true` or `false`. If charging is not supported, then this attribute should not be created. | battery_level | integer | % | `ATTR_BATTERY_LEVEL` | Battery level of the entity, shown as an integer percentage between 0-100. ## Lifecycle hooks