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:
1 parent
cc90cba78a
commit
2bf36bb1db
15 files changed
+216
-215
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user