History_graph doesn't work for 4th graph (copy of 3rd)

I have managed to create 3 history_graphs without any issues (temperatures / humidity).

Then I wanted to create graphs for CPU temps, loads, ram, etc. (HA should monitor ~ 10 servers)

However I couldn’t make it work, so I’ve tried add sensors to first 3 graphs, and tada, worked.

So I’ve tried to copy the 3rd:

   outside_temperature2:
 name: Outside temperature
 entities:
   - sensor.met_office_temperature
   - sensor.webzsuite001_intel_core_i74770_load_cpu_total
   - sensor.met_office_feels_like_temperature
 hours_to_show: 48
 refresh: 60

The I’ve created a copy of a group:

  outside_temperature_stats2:
name: Outside temp
entities:
  - history_graph.outside_temperature2 

And finally added the group to a view:

  default_view:
  view: yes
   icon: mdi:home
   entities:
  - group.bedroom1
  - group.server_room
  - group.awesome_people
  - group.climate
  - group.inside_temperature_stats
  - group.inside_humidity_stats
  - group.outside_temperature_stats
  - group.outside_temperature_stats2

And guess what. Chart isn’t showing on !!!

Any idea why I cannot create 4th chart ? (even if it is exactly same copy as the previous one (just added 2 to the name) ??

Indentation is correct, just this site has awful code snippet and won’t properly format it.

See my reply to your other message. Same problem.

Why would you think that anything would work with incorrect indentation ???

Already explained that indentation in a file is correct, it is simply broken by code snippet function on this site.

You would know that if you would read my post. Clearly I am stating that IT IS WORKING.

This issue is part of a bug where Configuration.yaml changes aren’t updated.

Well posting your code with incorrect indentation does not help us help you.

The issue is not with a code. It is a bug within Home Assistant easy to replicate.

Your whole post is worthless without the code, you use the code in your post to make your point.
Only problem is we can’t read your code because the indentation is wrong.

How do you expect us to replicate the bug? Yes, we would need working code for that…

You do not have sensors, so how would you replicate it :joy:
Seriously how would you replicate it without charts, and sensors ???:rofl:

YAML is using extremely simple script language, so you do not need a “code” to replicate it.
This is not a C# that you would need a code, be serious.

Take any group, swap 2 entities, change name of those entities and here you have it.

As I already explained.

After you change a name of an entity, the actual entity name in HASS stays the same (you can check it in states), this was breaking the “code” as I was pointing to the wrong entity.

I haven’t checked the database, but seems that you can access it, so probably HASS doesn’t update appropriate entity name attribute in a database.

Clearly, if “IT IS WORKING” then you wouldn’t be here asking people for help because something ISN’T WORKING!

You have a pretty horrible attitude for someone only here for a few days and asking other people for help.

We are trying to tell YOU what we need from YOU to help YOU to solve YOUR problem that YOU asked us for help on. Why are YOU fighting about giving us what we are asking for to help YOU out?

If you continue to have such a crappy attitude then I’m not seeing a very bright future for you in getting much help here.

2 Likes