[MainUI] new HomeKit group mapping editor #1317
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Complex HomeKit accessories like Thermostats or Fan with Lights are modelled as groups in openHAB and the users have to assign HomeKit characteristics to corresponding group members - openHAB items.
this can be done already today at item level, i.e. adding HomeKit metadata to items, one after another.
but an overview at group level was missing.
this PR adds editor at group level for HomeKit metadata so that user can map HomeKit characteristics to openHAB item on one screen.
it looks like this. The example shows Fan with Light.
It lists all characteristics supported by HomeKit for these accessory types. Mandatory are marked with *. User can select the openHAB group item for each characteristics. And press "Update group members" button on the top to add required HomeKit metadata to the openHAB items.
Group can be save also without this mapping and mapping can be done later at item level as well.
Overview
Select OH item
please review the code, UI design and wording especially thoroughly as im not a frontend or javascript developer.
Signed-off-by: Eugen Freiter freiter@gmx.de