Skip to content

Convert domains and attributes to nested array #4

@sunnythaper

Description

@sunnythaper

It's kinda shitty that the attributes are searched in full for all domains. In addition, the config doesn't quite make sense because of this so I'd like to change the script to account for settings more like this:

{
	"domains": [{
		"light": ["state", "brightness", "color_temp", "xy_color", "rgb_color"],
		"switch": ["state"]
	}],
	"save_file": true
}

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions