Skip to content

Commit

Permalink
Update sensors.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Anashost authored Aug 3, 2023
1 parent bc43542 commit c1dddb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -226,5 +226,5 @@
weatherxm_7days_precipitation_inch:
friendly_name: 'weatherxm 7days precipitation inch'
value_template: >
{{ (states('sensor.weatherxm_7days_precipitation_mm') / 25.4) | round(3) }}
{{ (((states('sensor.weatherxm_7days_precipitation_mm')) | float) / 25.4) | round(3) }}
unit_of_measurement: "in"

0 comments on commit c1dddb0

Please sign in to comment.