openhab-item@phoehnel: Initial submission#8461
openhab-item@phoehnel: Initial submission#8461phoehnel wants to merge 2 commits intolinuxmint:masterfrom
Conversation
Best-practices scannerThis is a regex-based check for API usage that can pose security, performance or This check is not perfect will not replace a normal review.Found 13 potential issue(s):
|
Replace all Lang.bind() calls with arrow functions and .bind(), convert synchronous file_get_contents() to Gio.File.load_contents_async(), and remove query_exists() calls in favor of try/catch error handling.
New applet to display and control OpenHAB smart home items from the Cinnamon panel.
Features
$XDG_CONFIG_HOMEwith Gio.FileMonitor)Technical notes
on_applet_removed_from_panel()usingGLib.SOURCE_REMOVE/GLib.SOURCE_CONTINUEClutter.EVENT_STOP/Clutter.EVENT_PROPAGATEGLib.get_user_config_dir()