Recorder: Log Humidity from weather platform

Hi all,

Is there a way to record the humidity (or all data) from the weather platform? I use Yweather, but if it can be done with another please let me know!

I have data from humidity inside my home and would like to plot this against outside humidity.

humidity is reported as an attribute of the yweather weather platform. You can pull attributes into sensors using a template sensor. Then include the new sensor in your recorder settings.

sensor:
  - platform: template
    sensors:
      humidityout:
        unit_of_measurement: '%'
        value_template: '{% if states.weather.yweather %} {{ states.weather.yweather.attributes.humidity }} {% else %} Unknown {% endif %}'

If you have established a sensor for your indoor humidity from your weather platform you could try this: (replace sensor.local_humidity with what you display Yweather humidity reporting)

cards:
- type: history-graph
  gr1:
  hours_to_show: 24
  entities:
     - sensor.local_humidity
     - sensor.indoor_humidity

Remove the cards: thingie if you are not using Lovelace

Edit: Yeah, like Silvrr did above :slight_smile:

Thank you all, it looks like it’s working.

It just started recording (I hope) so will know in a few hours! (If not, I’ll be back haha)