mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
RENAME: StateMachine tracks now entities, not categories.
This commit is contained in:
@@ -138,10 +138,10 @@ def from_config_file(config_path):
|
||||
|
||||
# Init groups
|
||||
if has_section("groups"):
|
||||
for name, categories in config.items("groups"):
|
||||
for name, entity_ids in config.items("groups"):
|
||||
add_status("Group - {}".format(name),
|
||||
group.setup(bus, statemachine, name,
|
||||
categories.split(",")))
|
||||
entity_ids.split(",")))
|
||||
|
||||
# Light trigger
|
||||
if light_control:
|
||||
|
||||
Reference in New Issue
Block a user