HADashboard - still seeing entity not found: sensor.dark_sky_wind_bearing

I’ve read through the previous post on this, but am still having this problem. I’m on build 0.85.4 of hass.io

Here is my darksky.yaml file (located in packages folder):

sensor:
  - platform: darksky
    api_key: !secret darksky_secret
    name: Weather
    units: si
    forecast: 1
    monitored_conditions:
      - apparent_temperature
      - daily_summary
      - dew_point
      - humidity
      - icon
      - nearest_storm_bearing
      - nearest_storm_distance
      - ozone
      - precip_accumulation
      - precip_intensity
      - precip_probability
      - precip_type
      - pressure
      - summary
      - temperature
      - temperature_min
      - temperature_max
      - visibility
      - wind_speed
      - wind_bearing
      - cloud_cover

I do see “Weather Wind Bearing” and “Weather Wind Bearing 1” on my Home Assistant Overview page

in my dashboard .yaml file:

weather_info:
  widget_type: weather
  title: Today
  units: "°F"


layout:
  - clock(2x1), weather_info(2x1)
  - binary_sensor.front_door,  binary_sensor.garage_door,  binary_sensor.back_door, binary_sensor.pergola_door, binary_sensor.bedrm_windows, space
  - climate.evans_house, thermostat_state, thermostat_mode, thermostat_humidity, thermostat_pops_house
  - home_alarm(2x1)
  - 
  - tommy_presence, cindy_presence, tyler_presence, sarina_presence, space, reload

Any help would be appreciated!

always helpfull to look in the docs how to use things
https://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html#weather

compare the list of entities in the example to those you have in home assistant
(the best way to look how your entities are called is on the devtools, states page)

since the last release from AD there have been namechanges in the darksky entities in HA.
thats why the default without extra settings doesnt work anymore.

I’ve looked through that document many times. If I look at the list of entities in HA, I see “sensor.weather_wind_bearing” - which doesn’t have a dark_sky root at all. I see nowhere that I can customize what entities hadashboard (appdaemon) are looking for. I’ve tried customizing a widget without the wind_bearing entity, but still get this same error.

it isnt that difficult.

in the example:

sample_weather:
  widget_type: weather
  title: Today
  show_forecast: 1
  prefer_icons: 1
  forecast_title: Tomorrow
  sensors:
    icon: sensor.dark_sky_icon
    temperature: sensor.dark_sky_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_daily_low_temperature_1
    forecast_temperature_max: sensor.dark_sky_daily_high_temperature_1
    forecast_precip_probability: sensor.dark_sky_precip_probability_1
    forecast_precip_type: sensor.dark_sky_precip_1

so after the : you give the entities that you got in your list of entities.
so not

    wind_bearing: sensor.dark_sky_wind_bearing

but

    wind_bearing: sensor.weather_wind_bearing
1 Like

I’ve done that, but still get an error referencing a sensor that I’m not using. Here’s the interesting part… if I don’t list anything under sensors, then I get labels but no data. So, if my code looks like this:

weather_info:
  widget_type: weather
  title: Today
  units: "°F"
  show_forecast: 1
  prefer_icons: 1
  forecast_title: Tomorrow
  sensors:

I get this as a result:
EmptyData

If I add just one item under sensors, such as:

weather_info:
  widget_type: weather
  title: Today
  units: "°F"
  show_forecast: 1
  prefer_icons: 1
  forecast_title: Tomorrow
  sensors:
    icon: sensor.weather_icon

Then I get the icon, and an error, which displays as:

Error

So that tells me that there’s something hard-coded in the AppDaemon that’s looking for these entities. I’m not sure where to go from here though?

(BTW - thank you for your assistance!)

you have show_forecast set to 1
so yeah, in that case AD expects you want to have forecast.
and because you dont provide the sensor, it looks for the default, which doesnt exist in your HA.

so you need! to provide the sensors for fore_cast

    forecast_icon: sensor.dark_sky_icon_1
    forecast_temperature_min: sensor.dark_sky_daily_low_temperature_1
    forecast_temperature_max: sensor.dark_sky_daily_high_temperature_1
    forecast_precip_probability: sensor.dark_sky_precip_probability_1
    forecast_precip_type: sensor.dark_sky_precip_1

at least it needs the forecast_precip_type, because thats what its looking for.

I can’t thank you enough. I’ve got everything working on today’s weather report. I just need to read up on how not to show some items, or at least, re-label them.

I can’t get the forecast to work, because it looks like darksky has changed their forecasted low and high temperature model. I’ve found several discussions, but none of them seem to work. And there are no low and high entities showing up in HA.

Thanks again!

1 Like

Let me know if you find out how to relabel them. I would like Apparent Temp: to either say Feels like: or Wind Chill:

No clue. I’m probably going to switch over to a lovelace design because I can’t get icons to display properly with HADashboard.

I have an iPad 3 which I am using as my main panel, and Lovelace doesn’t work well with it. So HADashboard it is.

inside the weather widget you cant change the text at this moment.
unless you make a custom widget out of it.

creating a custom widget that overrides the original isnt hard, but it has the disadvantage that you need to take extra care of things when you update AD next times.

@djtommye what is the trouble with displaying icons?

look at the documents on the widget you like to change the icon from.
for instance for switch it is:

icon_on: mdi-bike
icon_off: fas fa-adjust

remember mdi- instead of mdi: like in HA
and for font awsome you find what to put in on the top of the page from the icon.

As a lot of values changes mainly from “dark_sky” to “weather”, here’s the updated data:

weather:
  widget_type: weather
  title: Today
  show_forecast: 1
  prefer_icons: 1
  forecast_title: Tomorrow
  sensors:
    icon: sensor.weather_icon
    temperature: sensor.weather_temperature
    apparent_temperature: sensor.weather_apparent_temperature
    humidity: sensor.weather_humidity
    precip_probability: sensor.weather_precip_probability
    precip_intensity: sensor.weather_precip_intensity
    precip_type: sensor.weather_precip
    pressure: sensor.weather_pressure
    wind_speed: sensor.weather_wind_speed
    wind_bearing: sensor.weather_wind_bearing
    forecast_icon: sensor.weather_icon_1d
    forecast_temperature_min: sensor.weather_daily_low_temperature_1d
    forecast_temperature_max: sensor.weather_daily_high_temperature_1d
    forecast_precip_probability: sensor.weather_precip_probability_1d
    forecast_precip_type: sensor.weather_precip_1d

Hi Rene, works perfect, but try to add size argument to “weather” like (3X2) to have exactly the size I want with this:

layout:
  weather(3X2)

This is not supported?
I also tried this in the widget definition:

widget_size: [3, 2]

My goal is to align with other widgets.
Thanks, Chris

hi Chris,

if you give a size like (3x2) the widget will be 3x2 tiles
but it wont realign the elements from the widget inside the widget.

if you hange widget_size to [3,2] all widgets will be 3x2 tiles as default.

but you forgot 1 very important thing:
the layout is a list from rows
so you should use

layout:
  - weather(3x2)

Thanks, meanwhile was trying to add the widgets and I lost my config, any ideas? Sorry…
dash1


Ok I reinstalled appdeamon, and deleted the folder ok again, but I had to make mistakes with css, following these instructions:
place the files in the directory /conf/custom_widgets edit variables.yaml in your own or the default skin. the lines to add can be found in here in custom_css/default/variables.yaml

you probably just copied the variables.yaml to custom_css/default dir.

that overwrites your default skin and the files in there are not complete.

the description tells you to add the variables given there to the skin you use.
if you dont use any skin you need to create 1

I copied the lines in variables file, but in which file do I have to paste, I do not know, because perfect dummy I am…

Sorry, where do I create the skin?

it helps to read the documentation :wink:
https://appdaemon.readthedocs.io/en/latest/DASHBOARD_CREATION.html#skins
and the files from the default skin are here

but i advise not to use the name default as skin name, because it will overwrite the default skin and when you update you will get into trouble.

the files should go in appdeamon_config_dir/custom_css/skin_name

then you edit those files (so copy the variables there)

then you load your dashboard by using ?skin=skin_name behind the url you use to reach your dashboard.

1 Like

HI I have entity not found: sensor.dark_sky_daily_high_temperature_1d. Here’s my code. I please ask you any advice is possible. Thanks in advance:

weather:
  widget_type: weather
  main_style: "color: white"
  title_style: "color: white"
  unit_style: "color: white"
  sub_style: "color: white"
  sub_unit_style: "color: white"
  title: Today
  show_forecast: 1           
  prefer_icons: 1
  forecast_title: Tomorrow
  sensors:
    icon: sensor.dark_sky_icon
    temperature: sensor.dark_sky_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_1d
    forecast_temperature_max: sensor.dark_sky_daily_high_temperature_1d
    forecast_temperature_min: sensor.dark_sky_daily_low_temperature_1d   
    forecast_precip_probability: sensor.dark_sky_precip_probability_1d
    forecast_precip_type: sensor.dark_sky_precip_1d
  widget_style: "background-color: #446A8F"

Hope someone can point me to the right solution
Here’s the screenshot:
dark sky entity

My mistake. In HA log says:
‘Monitored condition temperature_max is deprecatedMonitored condition temperature_min is deprecatedMonitored condition apparent_temperature_max is deprecatedMonitored condition apparent_temperature_min is deprecated’
so I commented those voices in configuration.yaml having the problem you can saw.
I apologize with the forum
Regards