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

@ -626,7 +626,7 @@ def test_see_schema_allowing_ios_calls():
device_tracker.SERVICE_SEE_PAYLOAD_SCHEMA({
'dev_id': 'Test',
"battery": 35,
"battery_status": 'Unplugged',
"battery_status": 'Not Charging',
"gps": [10.0, 10.0],
"gps_accuracy": 300,
"hostname": 'beer',