v1.4.2
v1.4.2
New: Screen Off Behavior Select Entity
New select entity (select.dashie_screen_off_behavior) lets you control how the tablet turns off its screen, directly from Home Assistant:
- Black Overlay — screen shows black but app stays active. Fast wake, WebSocket connections stay alive. Best for daytime use.
- Power Off Screen — real hardware screen off via Device Admin. Lowest power consumption. Best for nighttime.
This is especially useful on Xiaomi/MIUI devices that aggressively drop WebSocket connections during hardware screen off.
REST API
Two new API commands (requires Dashie Android 2.24.7B+):
setScreenOffMethod— change the default method:?cmd=setScreenOffMethod&method=overlayscreenOffwithmethodparam — one-time override:?cmd=screenOff&method=overlay
Example Automation
# Overlay by day (fast wake), hardware off at night (power saving)
trigger:
- platform: time
at: "07:00:00"
id: morning
- platform: time
at: "23:00:00"
id: night
action:
- choose:
- conditions:
- condition: trigger
id: morning
sequence:
- service: select.select_option
target:
entity_id: select.dashie_screen_off_behavior
data:
option: "Black Overlay"
- conditions:
- condition: trigger
id: night
sequence:
- service: select.select_option
target:
entity_id: select.dashie_screen_off_behavior
data:
option: "Power Off Screen"Improved Diagnostics
- Log whether Fully Kiosk API is enabled (foreground service status)
- Detect Xiaomi/MIUI and Huawei/EMUI manufacturers with advisory hints
- Capture MIUI/HyperOS version string