Hey,
Having some issues with SMHI integration and Cloud Coverage. Simply I don’t believe it. Currently where I am in Sweden, it’s clear blue sky and has been so since this morning. Though I have a cloud coverage of 50. Right now and has been up to 100 during the morning. I assume that is in percentage, since it goes from 0 to 100. Everything else is fine with SMHI, but I dare not believeingc in the clouds…
Anyone having some experience or information about this?
This is my current cloud coverage:
This is my code in configuration.yaml:
sensor:
- platform: template
sensors:
cloud_coverage:
friendly_name: "Cloud Coverage MJ"
# I know this is wrong unit of measurement
unit_of_measurement: 'octas'
value_template: "{{ state_attr('weather.smhi_smhi', 'cloudiness') | float }}"
Thanks,
Marcus