danobot / meteorologic_metrics

This component calculates psychrometric states of moist air using ASHRAE 2009 Fundamentals formulations. Atmospheric pressure, and humidity must be given to calculate the other propreties.
https://danielbkr.net/projects
4 stars 2 forks source link

Can't find the Integration #1

Closed depasseg closed 2 years ago

depasseg commented 2 years ago

I installed meteorologic_metrics via HACS. I then reloaded HA. Went to Integrations expecting to install the integration, but nothing comes up when searching for "met" (I mean there are items that appear, but not this one). Am I supposed to do something else first? I added the following yaml to sensor.yaml and added "sensor: !include sensor.yaml" to configuration.yaml, but when I "Check Configuration", the check fails stating "Configuration invalid - Platform error sensor.meteologic_metrics - Integration 'meteologic_metrics' not found."

I thought I heard that something changed with the way platform integration was being handled. Is this still working for others?

I'm on HA core-2021.11.5, supervisor-2021.10.8, Home Assistant OS 6.6

danobot commented 2 years ago

This is my config:

sensor:
  - platform: meteorologic_metrics
    name: "Meteorologic Metrics"
    temp: sensor.outside_temp
    hum: sensor.outside_hum
    pressure: sensor.pixel_2_xl_pressure_sensor

Did you restart Home asisstant? it sounds like its a installation issue, not configuration issue.

danobot commented 2 years ago

and please update through HACS. Hopefully this resolves your issue

depasseg commented 2 years ago

The sensor platform sample configuration on the main readme has the platform spelled without the "ro" as in "meteologic_metrics". The actual platform name (and the one in your example above is "meteorologic_metrics".

danobot commented 2 years ago

Thanks, I fixed that as well