Skip to content

Commit

Permalink
Update time to "2 PM" so it works with the default ha-config sensor w…
Browse files Browse the repository at this point in the history
…ithout error..
  • Loading branch information
chunkysteveo authored Jan 2, 2024
1 parent 6d65ee0 commit 0d895e7
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions automation-4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -588,9 +588,7 @@ action:
color: black
- type: text
value: >-
{{ '%0.2d' |
format(state_attr('sensor.weatherman_data_tag','wm_time_0')) |
string | upper }}
{{ state_attr('sensor.weatherman_data_tag','wm_time_0') | string | upper }}
font: ../../media/GothamRnd-Bold.ttf
x: 140
"y": 5
Expand All @@ -599,9 +597,7 @@ action:
anchor: mt
- type: text
value: >-
{{ '%0.2d' |
format(state_attr('sensor.weatherman_data_tag','wm_time_1')) |
string | upper }}
{{ state_attr('sensor.weatherman_data_tag','wm_time_1') | string | upper }}
font: ../../media/GothamRnd-Bold.ttf
x: 216
"y": 5
Expand All @@ -610,9 +606,7 @@ action:
anchor: mt
- type: text
value: >-
{{ '%0.2d' |
format(state_attr('sensor.weatherman_data_tag','wm_time_2')) |
string | upper }}
{{ state_attr('sensor.weatherman_data_tag','wm_time_2') | string | upper }}
font: ../../media/GothamRnd-Bold.ttf
x: 292
"y": 5
Expand All @@ -621,9 +615,7 @@ action:
anchor: mt
- type: text
value: >-
{{ '%0.2d' |
format(state_attr('sensor.weatherman_data_tag','wm_time_3')) |
string | upper }}
{{ state_attr('sensor.weatherman_data_tag','wm_time_3') | string | upper }}
font: ../../media/GothamRnd-Bold.ttf
x: 368
"y": 5
Expand Down

0 comments on commit 0d895e7

Please sign in to comment.