Flow Details
In this automation you could define the start/end time for your night mode
***change "topic: awtrix_a8ba90" ***
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
-- Flow first published on July 27, 2023, last updated on September 28, 2023 at 11:07.