Skip to content

Commit

Permalink
Typo on precipitation values for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
chunkysteveo authored Nov 29, 2023
1 parent 7175674 commit fd0b4f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation-4.2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ action:
{{'red' if state_attr('sensor.weatherman_data_tag','wm_cond_1') in severe_weather else 'black' }}
- type: text
value: >-
{{ '2 mm' if
{{ '' if
state_attr('sensor.weatherman_data_tag','wm_precipitation_1') == 0
else state_attr('sensor.weatherman_data_tag','wm_precipitation_1') |
string + ' ' +
Expand Down Expand Up @@ -391,7 +391,7 @@ action:
{{'red' if state_attr('sensor.weatherman_data_tag','wm_cond_5') in severe_weather else 'black' }}
- type: text
value: >-
{{ '1 mm' if
{{ '' if
state_attr('sensor.weatherman_data_tag','wm_precipitation_5') == 0
else state_attr('sensor.weatherman_data_tag','wm_precipitation_5') |
string + ' ' +
Expand Down

0 comments on commit fd0b4f8

Please sign in to comment.