I am completely new to HA and YAML. I am trying to get a grasp on the formatting of my configuration file and I do best with examples of things I’m trying to do and learning from it. That being said, I am trying to add another weather sensor along side the “yr” platform that comes with HA. I don’t understand how to add another one to it. I have
sensor:
platform: yr
monitored_conditions:
- symbol
- precipitation
- windSpeed
- windDirection
- humidity
- fog
- cloudiness
- lowClouds
- mediumClouds
- highClouds
- dewpointTemperature
and it throws an error when I save the file and restart HA. If I comment out one of the sections from platform down and only have one platform active it works. I have it spaced correctly even though it it not displaying it that way here. Please help.
Be sure to highlight what you paste from your configuration file and hit the </> button to preserve the formatting. Spacing is very important and using the </> preserves that formatting so it can be checked.
Also, post your error log information related to the error. Most of the time it will tell you the line related to the error.