Home Assistant
Smarthome
AWTRIX 3
Awtrix Light Nightmode
Puts the clock in night mode
Built by Hank_the_Tank
Published 27 July 2023 · updated 28 September 2023 · 3 downloads
In this automation you could define the start/end time for your night mode
***change "topic: awtrix_a8ba90" ***
VqREgAJBApGm.yaml · 1.3 KB
alias: 🌛 Awtrix Night Mode 🌛
description: ""
trigger:
- platform: time
at: "23:00:00"
id: NM Start
enabled: true
- platform: time
at: "06:00:00"
id: NM End
enabled: true
condition: []
action:
- choose:
- conditions:
- condition: trigger
id:
- NM Start
sequence:
- service: mqtt.publish
data:
qos: 0
retain: false
topic: awtrix_a8ba90/switch
payload: "{\"name\":\"Time\"}"
- service: mqtt.publish
data:
qos: 0
retain: false
topic: awtrix_a8ba90/settings
payload: >-
{ "WD": false, "TIME_COL": [255,0,0], "TMODE": 0, "BRI": 1,
"ABRI": false, "ATRANS": false }
- conditions:
- condition: trigger
id:
- NM End
enabled: true
sequence:
- service: mqtt.publish
data:
qos: 0
retain: false
topic: awtrix_a8ba90/settings
payload: >-
{ "WD": true, "TIME_COL": [255,255,255], "TMODE": 2,
"ABRI": true, "ATRANS": true }
mode: single