This trigger will fire when the device's dark theme is enabled or disabled.

Options

  • Enabled - The trigger fires when dark mode is turned on.
  • Disabled - The trigger fires when dark mode is turned off.

Examples

Example 1: Adjust screen brightness when dark theme changes

Triggers

Dark Theme Change [Enabled]
Actions

Set Brightness: 30%

Example 2: Send notification when light theme is activated

Triggers

Dark Theme Change [Disabled]
Actions

Notification: Light theme activated
Set Brightness: 70%

Notes

  • This trigger monitors the system's ui_night_mode setting for changes.
  • The trigger only fires when the state actually changes, not repeatedly while the device remains in the same mode.
  • Works with both manual theme changes and scheduled automatic changes.

See Also