kalkih / simple-weather-card

Minimalistic weather card for Home Assistant
MIT License
283 stars 33 forks source link

Error when simple-weather-card is in the stack #38

Open bieniu opened 4 years ago

bieniu commented 4 years ago

After update HA to 0.110.x I have a problem with the card. Sometimes, the error "Maximum call stack size exceeded" appears.

Screenshot_20200525-212009

I'm not sure if this error is related to vertical-stack-in-card or simple-weather-card. No other cards in vertical-stack-in-card display this error.

My config:

- type: custom:vertical-stack-in-card
  title: "Pogoda"
  cards:
    - type: custom:simple-weather-card
      entity: weather.dom
      tap_action:
        action: navigate
        navigation_path: /lovelace/climate
      name: " "
      primary_info:
        - humidity
        - precipitation_probability
      secondary_info:
        - pressure
      custom:
        - temp: sensor.temperature_outdoor
        - humidity: sensor.humidity_outdoor
        - pressure: sensor.pressure_outdoor
        - precipitation_probability: sensor.dark_sky_precip_probability