sampsyo / wideq

reverse-engineered client for the LG SmartThinQ API
https://pypi.org/project/wideq/
MIT License
332 stars 159 forks source link

Invalid Config for sensor #129

Open JPOliveGit opened 4 years ago

JPOliveGit commented 4 years ago

i was doing it wrong on #128 , now I obtained the two tokens, but when I tried to make the sensor

smartthinq_sensors: token: "refreshtoken" region: PT #(ISO 3166-1 alpha-2, e.g. PT) language: pt-PT #(ISO-639-1, e.g. pt)

the validation on the home assistant gives me this error:

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

line 8: line 9: sensor: !include include/sensor.yaml

line 8 is blank and if I remove line 9 it doesn't give me an error