Implement forceAsItem-option
timbms opened this issue · 0 comments
Discussed in #667
Originally posted by Flole998 April 19, 2022
This is part of openhab/openhab-core#2185.
In openhab/openhab-core#2657 an option to force charts for groups to be rendered as value of the group instead of rendering all members of the group in a chart was implemented. So what is left here now is changing how the chartUrl is built if that option is passed and is true so that it is rendered in the app the same way as in the web-ui. That option probably needs to be added to Endpoint.swift. I think this search for the legend-parameter shows pretty much all changes necessary for the new parameter. Unfortunately I can't test this, so I would be working blind and I would appreciate if someone with more experience (meaning: any experience) and the ability to test this could do this.
In the web-ui this was implemented with openhab/openhab-webui#1256, the same logic needs to be added to the app.