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

Not working on MacOS Chrome #89

Open
PrtmPhlp opened this issue Apr 7, 2022 · 1 comment
Open

Not working on MacOS Chrome #89

PrtmPhlp opened this issue Apr 7, 2022 · 1 comment

Comments

@PrtmPhlp
Copy link

PrtmPhlp commented Apr 7, 2022

Hey, first thanks for the plugin!
I have the resource added in the configuration and this is my config:

title: Home
kiosk_mode:
  admin_settings:
    hide_header: true
    hide_sidebar: true
    hide_overflow: true
  entity_settings:
    - entity:
        input_boolean.hide_sidebar: 'on'
      hide_sidebar: true
    - entity:
        sensor.hide_header: 'on'
      hide_header: true
    - entity:
        input_text.kiosk: 'true'
      kiosk: true
views:
  - title: Clean Home
    path: clean_home
    icon: ''
    theme: noctis
    badges: []
    cards:
      - type: custom:mushroom-chips-card
        chips:
          - type: menu
          - type: weather
            entity: weather.openweathermap
            show_conditions: true
            show_temperature: true

I noticed this error in Dev tools:

Lovelace config not found, continuing with default configuration.
TypeError: Cannot read properties of undefined (reading 'state')
    at e.value (kiosk-mode.js:32:102)
    at e.value (kiosk-mode.js:20:7)
    at kiosk-mode.js:20:86

I configured the dashboard just with the normal UI, so I have no idea, how to fix this and i would appreciate some help.

@Mariusthvdb
Copy link

Mariusthvdb commented May 11, 2022

not sure if this is any help, but I also can not configure Kiosk mode with the file downloaded by Hacs...(1.3.4), which I installed 2 days ago.

Schermafbeelding 2022-05-10 om 22 07 44

I've been using a manual install method for years with a file now reporting to be version 1.7.2, which works perfectly.
Since that is the latest version in the Repo, I dont quite understand why Hacs wouldn't dl that.. Maybe try the manual install method too?

your error indicates a configuration issue though, did you set the correct path to the kiosk mode config file?

edit

now this is amazing. Upon restart (which I have done rather often lately, so no reason this should not have popped up before), I get a lot of Hacs updates including

Schermafbeelding 2022-05-11 om 09 31 16

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants