Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96121

Can someone explain this 'invalid config for [sensor]' error?

$
0
0

@Andarras wrote:

Hi,

Yesterday my UI was working fine, today I see everything flash (with errors for Dark Sky that worked fine today) for a second before disappearing and leaving me with a blank ui. After digging around I realised my sensor include line was gone along with my Dark Sky sensors within sensors.yaml. So I entered sensor: !include sensors.yaml and my Dark Sky sensors as below:

sensor:
  - platform: darksky
    api_key: xxxxx
    forecast:
      - 0
    hourly_forecast:
      - 0
      - 1
    monitored_conditions:
      - summary
      - icon
      - temperature

I’m getting this config error?

Invalid config for [sensor]: required key not provided @ data['platform']. Got None. (See /config/configuration.yaml, line 58).

Any advice is greatly appreciated, and some idea of what this config error is referring to would be appreciated!

Thanks!

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 96121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>