Skip to content

Conversation

hecktech27
Copy link
Contributor

This is the third step in a bigger change process for HassLightSet. ( see PR #3294 )

This PR optimizes color controls by area.
Color controls by floor and by corresponding satellite area are also introduced in this PR.
This PR also removes previously allowed but not working slot combinations - so hopefully no more "Es ist ein Fehler aufgetreten".

I decided to implement sentences with <alle_lichter> only together with either <hier> or <area_floor> since without one of those two the behavior of hassLightSet would not be consistent with Light turnOn/Off where <alle_lichter> without any further context turns on or off all lights everywhere.

overall sentence count compared to step 2 ( #3315 ) ~ + 6 million. while this is quite a lot there is a lot of new functionality introduced with this PR as well and #3314 reduced OSC quite a lot 😉
If you find potential to further reduce sentence count within this PR I´m happy to adjust!

changes to the commons file are covered by #3314 and will be removed/unnecessary once that PR is merged.
changes to light_HassLightSet in lines 25/26, 32-35 and 53-58 are covered by previous PRs (#3314 #3315 ) and will be removed or unnecessary as well once the previous PRs are merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant