Some DarkSky entities are not found

To give it a try, here my DarkSky configuration:

  - platform: darksky
    api_key: !secret darksky_password
    language: it
    forecast: 0
    monitored_conditions:
      - summary
      - icon
      - precip_type
      - precip_intensity
      - precip_probability
      - precip_accumulation
      - temperature
      - apparent_temperature
      - dew_point
      - wind_speed
      - wind_gust
      - wind_bearing
      - cloud_cover
      - humidity
      - pressure
      - visibility
      - minutely_summary
      - daily_summary
      - temperature_high
      - temperature_low
      - apparent_temperature_high
      - apparent_temperature_low
      - precip_intensity_max
      - uv_index
      - moon_phase
      - sunrise_time
      - sunset_time
      - nearest_storm_distance
      - nearest_storm_bearing
      - alerts
    scan_interval:
      minutes: 5

And here the related group:

  weatherGroup:
    name: Weather
    entities:
      - sensor.dark_sky_summary
      - sensor.dark_sky_icon
      - sensor.dark_sky_precip_type
      - sensor.dark_sky_precip_intensity
      - sensor.dark_sky_precip_probability
      - sensor.dark_sky_precip_accumulation
      - sensor.dark_sky_temperature
      - sensor.dark_sky_apparent_temperature
      - sensor.dark_sky_dew_point
      - sensor.dark_sky_wind_speed
      - sensor.dark_sky_wind_gust
      - sensor.dark_sky_wind_bearing
      - sensor.dark_sky_cloud_cover
      - sensor.dark_sky_humidity
      - sensor.dark_sky_pressure
      - sensor.dark_sky_visibility
      - sensor.dark_sky_minutely_summary
      - sensor.dark_sky_daily_summary
      - sensor.dark_sky_temperature_high
      - sensor.dark_sky_temperature_low
      - sensor.dark_sky_apparent_temperature_high
      - sensor.dark_sky_apparent_temperature_low
      - sensor.dark_sky_precip_intensity_max
      - sensor.dark_sky_uv_index
      - sensor.dark_sky_moon_phase
      - sensor.dark_sky_sunrise_time
      - sensor.dark_sky_sunset_time
      - sensor.dark_sky_nearest_storm_distance
      - sensor.dark_sky_nearest_storm_bearing
      - sensor.dark_sky_alerts

But some of them are not recognized (“entity not available”):

      - sensor.dark_sky_precip_type
      - sensor.dark_sky_precip_accumulation
      - sensor.dark_sky_cloud_cover
      - sensor.dark_sky_temperature_high
      - sensor.dark_sky_temperature_low
      - sensor.dark_sky_apparent_temperature_high
      - sensor.dark_sky_apparent_temperature_low
      - sensor.dark_sky_precip_intensity_max
      - sensor.dark_sky_moon_phase
      - sensor.dark_sky_sunrise_time
      - sensor.dark_sky_sunset_time

Did I forget something?

you have to attach _<day>d at the end to define the day you want to see the forecast value from. since you only want the forecast for today you need to attach _0d at the end.

you can use the developer tools’ status page within home assistant to see all available entities. the ones with _0d at the end should also be listed there :slight_smile:

I’ve never been able to get moon phase to show up.

Unfortunately, adding _0d doesn’t fix the problem.
Even the developer tools state page doesn’t show any item with _0d suffix.

Did you remember to restart after configuring the sensor?

I copy and pasted your code and everything is available (@klogg including moon phase):

Could it be that there is no forecast available for your region?

Yes, I restarted the HA server and reloaded the groups.
Just to be sure: I have to change the group items only, or also the configuration ones?
Because if I put, say, apparent_temperature_low_0d in the darksky configuration I get an error on validation:

value is not allowed @ data[‘monitored_conditions’][21]. Got ‘apparent_temperature_low_0d’

I’m located in Italy.

correct. don’t alter the monitored conditions. as i said your posted configuration works for me unaltered.

can you test a different location, either by changing the latitude and longitude settings (either globally or for the sensor only)?

try a big city like Rome, Berlin or London and check if the forecast sensors are appearing then.

Unfortunately nothins has changed, I tried with Rome and London.
Anyway, if that were the problem I expect something like “undefined” rather than an error on the item themselves.

Well I definitely don’t get moon phases and never have since it was added a few months ago. I get all the others though. It’s no big deal for me but as the subject came up I thought I’d mention it.

It is strange all the same.

definitely since all of us get different results…