Skip to content

Commit b4d4714

Browse files
committed
revert HA reset log code. not logging (until user interaction, prolly)
1 parent 3657fb6 commit b4d4714

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/kobold-alarm-clock-card.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ class KoboldAlarmClockCard extends LitElement {
124124
// If HA restarts, reload browser
125125
window.hassConnection.then(({ conn }) => {
126126
conn.subscribeEvents(() => {
127-
if (this._config.debug) {
128-
this._hass.callService('system_log', 'write', { 'message': '*** HA restart complete. Refreshing browser', 'level': 'info' });
129-
};
130-
window.setTimeout(() => {
131-
location.reload();
132-
}, 1000);
127+
location.reload();
133128
}, 'homeassistant_started');
134129
});
135130
}

0 commit comments

Comments
 (0)