Skip to content

Commit

Permalink
Merge pull request #1213 from shogun160/release
Browse files Browse the repository at this point in the history
[card_weather] - use entity temperature when ulm_card_weather_custom isn't set
  • Loading branch information
basbruss committed Mar 24, 2023
2 parents a428c24 + ec08a88 commit 20e5911
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ card_weather:
ulm_card_weather_backdrop: false
ulm_card_weather_primary_info: "extrema"
ulm_card_weather_secondary_info: "precipitation"
ulm_card_weather_custom:
- temp: "[[[ return entity.attributes.temperature ]]]"
show_icon: false
show_name: false
show_label: false
Expand All @@ -29,6 +31,7 @@ card_weather:
primary_info: "[[[ return variables.ulm_card_weather_primary_info ]]]"
secondary_info: "[[[ return variables.ulm_card_weather_secondary_info ]]]"
backdrop: "[[[ return variables.ulm_card_weather_backdrop ]]]"
custom: "[[[ return variables?.ulm_card_weather_custom ]]]"
style: |
ha-card {
border-radius: 14px;
Expand Down

0 comments on commit 20e5911

Please sign in to comment.