kiosk-mode icon indicating copy to clipboard operation
kiosk-mode copied to clipboard

Not working on MacOS Chrome

Open PrtmPhlp opened this issue 2 years ago • 1 comments

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.

PrtmPhlp avatar Apr 07 '22 19:04 PrtmPhlp

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

Mariusthvdb avatar May 11 '22 07:05 Mariusthvdb