Yannick Schaus
Yannick Schaus
```js var FrameworkUtil = Java.type('org.osgi.framework.FrameworkUtil'); var bundle = FrameworkUtil.getBundle(ir.class); var bundleContext = bundle.getBundleContext(); var serviceRef = bundleContext.getServiceReference('org.openhab.core.i18n.LocationProvider'); var service = bundleContext.getService(serviceRef); var location = service.getLocation(); print(location); ``` This works (JS).
Yep although we might need to redefine what an item's "category" means, both in core and in the UI. It was meant originally to convey both an icon and a...
That was actually implemented in the "displayState" introduced in https://github.com/openhab/openhab-core/pull/1364#discussion_r380606310 - so I'm all for it to be performed on the regular API calls as well.
> The metadata must be made available through the REST API, so that it can be consumed by the UI. I have made some proposals in #2070.
It's true that all [settings ](https://github.com/openhab/openhab-core/blob/08da8de5cf0d0f554cd071b2ec49f9c72c8e1718/bundles/org.openhab.core.ephemeris/src/main/resources/OH-INF/config/config.xml#L7) currently defined for the Ephemeris manager service could in fact be considered to be regional (geographical and cultural) settings, and it could IMHO make...
Yes, I believe it could work like this: - the parameters to the API request define the rules to consider and time span of the occurrences to return (for instance,...
> Next, the Schedule screen in the UI tries to display rules with time-based triggers and conditions in a calendar by analyzing them client-side, this works when the triggers are...
The UI has its own sorting function which will consider the index put in the `widgetOrder` metadata namespace first, then will sort labels (or fallback to the name if the...
Example:  Native dialog from VS Code:   The sign in page is opened in a browser tab:  When clicking sign in the browser may ask if VS...
Why not, provided the webviews can catch `vscode://` URLs too and send them back to VS Code for the UrlHandler to catch. fyi this code has a lot of code...