Hi, I would like to extract the temperature and humidity from Meteorologisk institutt (Met.no). I found YAML code that supposedly works but I have problem with sensors line:
It says that: [sensors] is an invalid option for [sensor.template]. Please check the indentation.
Could you please let me know how to fix this so it works?
I’ll be extremely grateful.
In the dashboard I want to make 2 graphs. On one the temperature flow and on the other the humidity. Is it possible to extract attributes from Meteorologisk institutt (Met.no) and make them separate entities? I found Dev Tools/states and YAML code with temperature, humidity etc. I tried to paste this code here but new entity has not been created.
Template sensor configuration needs to be placed in your configuration.yaml file (or other properly split files). The file system can be accessed using the File Editor or Studio Code Server add-ons.
For a basic template sensor like this you can just use the Template helper. This can be found under Settings > Devices & Services > Helpers. Then click “Create Helper” and select “Template”.
That’s why you were asked to identify the name of the file where you placed the Template Sensor configuration, because it doesn’t appear to be the correct file.
You made the same mistake that another person did. You put the full YAML configuration of a Template Sensor into the field where you only need to put the template.