1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Change ATTR_BATTERY_STATE_UNPLUGGED for ios component (#22152)

* AH - Updated Text Description of ATTR_BATTERY_STATE_UNPLUGGED

* AH - updated device_tracker ios test to use new battery state description
This commit is contained in:
Andrew Hall
2019-03-19 07:46:04 +00:00
committed by Jason Hu
parent f195ecca4b
commit 12df14b87b
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ PERMISSIONS = [ATTR_LOCATION_PERMISSION, ATTR_NOTIFICATIONS_PERMISSION]
ATTR_BATTERY_STATE = 'state'
ATTR_BATTERY_LEVEL = 'level'
ATTR_BATTERY_STATE_UNPLUGGED = 'Unplugged'
ATTR_BATTERY_STATE_UNPLUGGED = 'Not Charging'
ATTR_BATTERY_STATE_CHARGING = 'Charging'
ATTR_BATTERY_STATE_FULL = 'Full'
ATTR_BATTERY_STATE_UNKNOWN = 'Unknown'