briis / smartweather

WeatherFlow Smart Weather Component for Home Assistant
MIT License
108 stars 11 forks source link

2.0.6 Upgrade and Custom Weather Card #41

Closed lazerdave closed 4 years ago

lazerdave commented 4 years ago

Even with this in my configuration.yaml

weather:
  - platform: smartweather
    api_key: <My Dark Sky API key>

my weather cards have broken in this upgrade.

current: true
details: true
entity: weather.smartweather
forecast: true
hourly_forecast: true
number_of_forecasts: '4'
type: 'custom:weather-card'

Any tips?

trancen commented 4 years ago

I'm having the same issue where the card is broken, don't see anything in the logs

briis commented 4 years ago

Hi both, I am a little confused. The title of this issues indicate an issue with V2.0.6, but this integration is at 2.0.3 - is that just a typo? Anyway as stated in the README you have to remove ALL references for smartweather from your YAML files before you upgrade, as yaml configuration is no longer supported.

I also assume that the Lovelace Weather Card you are using is this: https://github.com/bramkragten/weather-card. As also stated in the Upgrade notes, the entity names will changes, so your entity: weather.smartweather would have gotten a new name, with your location attached. Please check the developer tools to find the right entity.

Please let me know if any of this helps?

lazerdave commented 4 years ago

Looks like I had a stray entry in there I hadn't caught.

Thanks!

trancen commented 4 years ago

Mine too as well, resolved for me. Thanks

briis commented 4 years ago

Great you both got it fixed. I will close this issue now.