Secure dash when device is locked (Android Device Controls Panel) #242
-
Greetings, Is there any difference as to how kiosk mode is applied to a view linked from a dash? I have a "phone" dash that links to some "shared" views. The home assistant companion app gives this to Android for the Device Controls Panel. The simple kiosk_mode:
entity_settings:
- entity:
binary_sensor.arbutus_device_locked: 'on'
hide_dialog_header_action_items: true
hide_overflow: true
kiosk: true
block_overflow: true
hide_edit_dashboard: true
hide_search: true
hide_assistant: true My goal is to "batten down the hatch" for settings and backend access when the dash is accessed from the Android "device controls" panel while the phone is locked. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Of note, it seems I have the entity status displayed on the dash for debugging and it shows "on" when the device is locked. |
Beta Was this translation helpful? Give feedback.
Hi @patienttruth,
Check entity_settings entry in the documentation. In
yaml
, indentation is crucial:For your understanding, I will translate your
yaml
code tojson
so you can spot where is the issue. You have this config: