Bugfix invalid entity_config parameter HomeKit (#17143)
This commit is contained in:
1 parent
769dda735d
commit
52ff232797
2 files changed
+5
-1
No files matched your search
@@ -23,7 +23,8 @@ from tests.common import async_mock_service
|
||||
|
||||
def test_validate_entity_config():
|
||||
"""Test validate entities."""
|
||||
configs = [{'invalid_entity_id': {}}, {'demo.test': 1},
|
||||
configs = [None, [], 'string', 12345,
|
||||
{'invalid_entity_id': {}}, {'demo.test': 1},
|
||||
{'demo.test': 'test'}, {'demo.test': [1, 2]},
|
||||
{'demo.test': None}, {'demo.test': {CONF_NAME: None}},
|
||||
{'media_player.test': {CONF_FEATURE_LIST: [
|
||||
|
||||
Reference in new issue
Block a user