Bugfix invalid entity_config parameter HomeKit (#17143)

This commit is contained in:
cdce8p authored and GitHub committed 2018-10-04 20:37:04 +02:00
1 parent 769dda735d
commit 52ff232797
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -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: [