Skip to content

Secure dash when device is locked (Android Device Controls Panel) #242

Answered by elchininet
patienttruth asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @patienttruth,

Check entity_settings entry in the documentation. In yaml, indentation is crucial:

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

For your understanding, I will translate your yaml code to json so you can spot where is the issue. You have this config:

{
  "kiosk_mode": {
    "entity_settings": [
      {
        "entity": {
          "binary_sensor.arbutus_device_locked": "on",
          "hide_dialog_header_action_items": true,
          "hide_overflow": true,
          "kiosk"

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@elchininet
Comment options

Answer selected by patienttruth
@patienttruth
Comment options

@elchininet
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants