maykar / kiosk-mode

🙈 Hides the Home Assistant header and/or sidebar
MIT License
417 stars 175 forks source link

Conditional settings within (non-)admin-settings: #80

Open spudje opened 2 years ago

spudje commented 2 years ago

Should it be possible to do this: (or similar)?

kiosk_mode:
  non_admin_settings:
    - entity:
       input_boolean.hide_sidebar: 'on'
       hide_sidebar: true

If not, consider this a feature request :)

maykar commented 2 years ago

Not able to test ATM and on mobile, but would something like this be what you're looking for?

kiosk_mode:
  entity_settings:
     - entity:
         input_boolean.hide_sidebar: 'on'
         hide_sidebar: true
  admin_settings:
    ignore_entity_settings: true

If not please give an example of what you're looking to do.