feat(hassio): Implemented the Home Assistant plugin for Noctalia v5. (#31)
* feat(hassio): Implemented the Home Assistant plugin for Noctalia v5. * Update plugin.toml * Update plugin.toml * fix(*): Changed curl HTTP calls to native noctalia HTTP calls. * fix(*): Fixed headers on HTTP requests. * fix(service_sse): Fixed HA tokens visible on argv during streams. * fix(service_sse): Added an explicit exit signal for the stream and refresh/reload_entities no longer force `sseActive = false`. * fix(*): Fixed xdg-open missing from README.md and plugin.toml * refact(widget): Changed runInTerminal to runAsync on xdg-open calls to prevent the termial from popping up. * fix(*): Changed plugin data location to be stored where pluginDataDir() points. * fix(README): Added all IPC calls to README. * Updated README to reflect recent changes. * refact(*): Removed some dead code. * fix(*): Changed toggle timeout logic to use real time, fixing toggles being stuck in a loding animation. * refact(*): Added a token cleaner function. * refact(service_sse): Changed curl stream calls for the new native HTTP streaming API. * feat(*): Fixed some translations.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
--!nonstrict
|
||||
|
||||
shortcut.setLabel(noctalia.tr("shortcut.panel_label"))
|
||||
shortcut.setIcon("layout-list")
|
||||
shortcut.setActive(false)
|
||||
shortcut.setEnabled(true)
|
||||
|
||||
function onClick()
|
||||
noctalia.togglePanel("pozzoo/hassio:entity_manager")
|
||||
end
|
||||
Reference in New Issue
Block a user