History graph for temps for default Lovelace?

I’m back! :smiley:

So, I’ve been trying to setup a history_graph so I can better monitor and tweak house balancing against energy efficiency. Goal is to be able to see a few sensors together graphed out over 48 hours.

I found a few threads but I didn’t get to the end result of a graph working.

I followed this: History Graph Card - Home Assistant
And this: (Solved) Lovelace Sensor Graph (two sensors and two lines)

But, this errs when checking the configuration prior to a restart. Error tells me that there is no history-graph integration. So, I searched integrations and one does not exist.

Of note, I can’t edit the default lovelace to add cards - it says HA is managing it.

This was my last attempt to add to configuration:

history_graph:
  gr1:
    name: Household Temperatures
    hours_to_show: 48
    entities:
      - sensor.temperature_62 #kid room
      - sensor.temperature_56 #master bedroom
      - sensor.temperature_59 #office
      - sensor.temperature_73 #family room
      - sensor.entryway_temperature #thermostat
      - sensor.velux_sensor_temperature #kitchen velux by fridge
      - sensor.temperature_34 #outside

Not sure where to go from here.

Whenever I have issues with the yaml, I try them out on a dashboard with the ‘gui’ provided by HA > I created a dashboard testing, and in there you don’t have to write yaml but can use the gui

Then when you created what you want, you can view the yaml under ‘raw configuration editor’

couple of minutes in there gave me this:

views:
  - title: Test
    path: Test
    panel: false
    badges: null
    cards:
      - type: history-graph
        entities:
          - entity: sensor.athom_plug_01_total_energy
          - entity: sensor.athom_plug_01_total_daily_energy

Man, thank you. I didn’t even think about making a new dashboard so I could sort this out. Got it working!

Yeah I wish someone told me that when I switched to lovelace, would have saved me hours of fiddling with yaml. Anyway glad you got it sorted