Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

Commit

Permalink
Fix for no config
Browse files Browse the repository at this point in the history
  • Loading branch information
maykar authored Jan 4, 2021
1 parent 03fd22b commit 3369544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiosk-mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function getConfig() {
llAttempts++;
try {
const llConfig = ll.lovelace.config;
config = llConfig.kiosk_mode;
config = llConfig.kiosk_mode || {};
llAttempts = 0;
} catch {
if (llAttempts < 40) setTimeout(() => getConfig(), 50)
Expand Down

0 comments on commit 3369544

Please sign in to comment.