diff --git a/src/assets/hestia.js b/src/assets/hestia.js index 1c28ed4..9cb926f 100644 --- a/src/assets/hestia.js +++ b/src/assets/hestia.js @@ -62,13 +62,11 @@ export function togglePower(element) { } export function startup() { - psState.startup(comms); - refreshState(window.document, psState); + comms.startup(); } export function shutdown() { - psState.shutdown(comms); - refreshState(window.document, psState); + comms.shutdown(); } window.onload = function() {