core: History display does not conform to documentation

The problem

The graphs displayed in the history panel do not conform to the configuration specified in configuration.yaml and as defined in the HA documentation.

https://www.home-assistant.io/integrations/history/

This appears to be a breaking change since configuration is now done in browser and not stored across all browsers, instead of in yaml.

There appears to be no way to include/exclude entity globs, (apart from by ‘area’), so it isn’t possible to add all of an entity type (e.g. light) they have to be added one by one.

Whilst I see the benefits in the update, it has broken the use case for people who use this as a glance for everything working fine (yes there are other potential ways of achieve it that, but this route is now broken).

What version of Home Assistant Core has the issue?

2022.7.x

What was the last working version of Home Assistant Core?

2022.6.x

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

History

Link to integration documentation on our website

https://www.home-assistant.io/integrations/history/

Diagnostics information

No response

Example YAML snippet

history:
  use_include_order: true
  include:
    domains:
      - device_tracker
      - person
    entities:
      - binary_sensor.tyrcelyn_booking
      - binary_sensor.internet
      - binary_sensor.garage_cam
      - binary_sensor.workshop_cam
      - sun.sun
      - weather.ty_r_celyn

      - sensor.cpu_temperature
      - sensor.memory_free
      - sensor.processor_use
      - sensor.connected_clients

  exclude:
    entities:
      - device_tracker.bluray
    entity_globs:
      - device_tracker.roger*
      - device_tracker.clare*
      - device_tracker.ben

Anything in the logs that might be useful for us?

No response

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 9
  • Comments: 22 (7 by maintainers)

Most upvoted comments

I see the documentation has been updated to reflect this, which it hadn’t at the time I raised this. So I’m OK that you have closed it.

This is a terrible change - I had history configured configured in YAML exactly the way I wanted it to show across many different devices / browsers. Now I can’t even replicate my History panel because there is no way (for example) to include an area but exclude a device! Yes, you may be able to work around that by ignoring the area and selecting only certain devices, but what a pain, especially when you are looking at history from multiple browsers!

For the sanity of those of us commenting here, please restore the YAML capability so it is consistent with the documentation.

I suggest you refer to bdraco’s comment above

There hasn’t been any activity on this issue recently.

This still happens, the previous History behaviour is still missing and we can’t see all entities like before and customise the entities as we want through the configuration files.