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

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

Open
spudje opened this issue Dec 6, 2021 · 1 comment
Open

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

spudje opened this issue Dec 6, 2021 · 1 comment

Comments

@spudje
Copy link

spudje commented Dec 6, 2021

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 :)

@spudje spudje changed the title Conditional settings within (no-)admin-settings: Conditional settings within (non-)admin-settings: Dec 6, 2021
@maykar
Copy link
Owner

maykar commented Dec 6, 2021

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.

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