mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Filter out falsey platform configs
This commit is contained in:
@@ -45,5 +45,4 @@ class TestHelpers(unittest.TestCase):
|
||||
('hello', config['zone']),
|
||||
(None, 1),
|
||||
('hello 2', config['zone Hallo'][1]),
|
||||
(None, None)
|
||||
] == list(helpers.config_per_platform(config, 'zone'))
|
||||
|
||||
Reference in New Issue
Block a user