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

Configuration.yaml not validating

$
0
0

Im new to home assistant. Im trying to the get power state of my sonoff device using HTTP requests

The problem is my config yaml file is erroring and when i google the error i cant find any answers

I pasted this at the bottom of my config yaml file:

sensor:

Example configuration.yaml entry

sensor:
  - platform: scrape
    resource: 'http://192.168.0.160/cm?cmnd=Power'
    name: 'myBedroom Light'
    value_template: "{{ value.POWER }}"

The error im getting is: Invalid config for [sensor.scrape]: required key not provided @ data[‘select’]. Got None. (See ?, line ?).

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 108561

Trending Articles



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