Use unicode slugify (#19192)

* Update __init__.py

* Update setup.py

* Update requirements_all.txt

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* Update __init__.py

* remove `-`

* fix packages

* Update package_constraints.txt

* Update __init__.py

* Update package_constraints.txt

* Update requirements_all.txt

* Update setup.py

* Fix tests

* Fix line issue

* fix all test

* fix type

* Fix lint
This commit is contained in:
Pascal Vizeli authored and GitHub committed 2018-12-17 07:51:13 +01:00
1 parent cc90cba78a
commit 2bf36bb1db
15 files changed
+216 -215

No files matched your search

+2 -2
View File
@@ -408,10 +408,10 @@ async def test_see_state(hass, yaml_devices):
timedelta(seconds=0))
assert len(config) == 1
state = hass.states.get('device_tracker.examplecom')
state = hass.states.get('device_tracker.example_com')
attrs = state.attributes
assert state.state == 'Work'
assert state.object_id == 'examplecom'
assert state.object_id == 'example_com'
assert state.name == 'example.com'
assert attrs['friendly_name'] == 'example.com'
assert attrs['battery'] == 100