I just upgraded to 0.70.1 and updated my Dark Sky sensors for the depreciated temperature_min & temperature_max to temperature_low & temperature_high however I am receiving this error message in the HaDashboard weather widget. Is this because there is some code that needs to be updated ? If so, is there an easy way to update this?
Take a look in Dev tools for the entity_id’s of the sensors.
For me they are called:
sensor.dark_sky_daytime_high_temperature
sensor.dark_sky_overnight_low_temperature
Yes, those are the ones I replaced but is the code for the weather widget still using the old daily_high and daily_low?
Don’t know!
Restarted Appdaemon?
Restarting appdaemon didn’t work either.
I changed temperature_min and temperature_max in my monitored_conditions to temperature_low and temperature_high. Is there another piece that needs to change or add?
Here is the Changes you need in your dash file for the Weather Widget to work:
Notice Bold, also you need to add all thing sensors and restart appdeamon for it to work, than clear cache in browser and reload the page.
weather:
title: Today
show_forecast: 1
forecast_title: Tomorrow
prefer_icons: 1
widget_type: weather
units: “°F”
sensors:
icon: sensor.dark_sky_icon
temperature: sensor.dark_sky_temperature
temperature_max: sensor.dark_sky_daytime_high_temperature
temperature_min: sensor.dark_sky_overnight_low_temperature
apparent_temperature: sensor.dark_sky_apparent_temperature
humidity: sensor.dark_sky_humidity
precip_probability: sensor.dark_sky_precip_probability
precip_intensity: sensor.dark_sky_precip_intensity
precip_type: sensor.dark_sky_precip
pressure: sensor.dark_sky_pressure
wind_speed: sensor.dark_sky_wind_speed
wind_bearing: sensor.dark_sky_wind_bearing
forecast_icon: sensor.dark_sky_icon_1
forecast_temperature_min: sensor.dark_sky_overnight_low_temperature_1
forecast_temperature_max: sensor.dark_sky_daytime_high_temperature_1
My previous setup didn’t list all the sensors but adding it like this worked.
Thanks!
Glad it worked out
How can I round forecast temperature values to ignore the tenths and hundredths?