2022.7: A stunning performance

Hi all,

What happend with the history when you include entities etc?
This is not shown anymore in the history. You now need always select entities, areas or devices?

I have this in my split configuration:

#  β–ˆβ–ˆβ•—  β–ˆβ–ˆβ•—β–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•—   β–ˆβ–ˆβ•—
#  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β•β•β•β•šβ•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•”β•β•β•β–ˆβ–ˆβ•—β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—β•šβ–ˆβ–ˆβ•— β–ˆβ–ˆβ•”β•
#  β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•—   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β• β•šβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•
#  β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β•šβ•β•β•β•β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•”β•β•β–ˆβ–ˆβ•—  β•šβ–ˆβ–ˆβ•”β•
#  β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘β–ˆβ–ˆβ•‘β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘   β•šβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ•”β•β–ˆβ–ˆβ•‘  β–ˆβ–ˆβ•‘   β–ˆβ–ˆβ•‘
#  β•šβ•β•  β•šβ•β•β•šβ•β•β•šβ•β•β•β•β•β•β•   β•šβ•β•    β•šβ•β•β•β•β•β• β•šβ•β•  β•šβ•β•   β•šβ•β•
###########################################################################################
# HISTORY
# https://www.home-assistant.io/integrations/history/
###########################################################################################
---
include:
  entities:
    # Humidity
    - sensor.buienradar_humidity
    - sensor.bathroom_humidity
    
    # Device Trackers
    - sensor.kay_presence_homekit
    - device_tracker.cenkay
    - sensor.peter_presence_homekit
    - device_tracker.peter_iphone

    - light.bathroom_all
    - light.bedroom_all
    - light.hallway_all
    - light.balcony_all
    - light.toilet_all
    - light.livingroom_all
    - light.kitchen_all
    - light.sink_all
    - light.kitchen_sink

    # Last messages
    - sensor.alexa_last_message
    - sensor.washing_machine_data
    - sensor.dryer_machine_data
    - sensor.dishwasher_machine_data

    - fan.afzuiging_badkamer
    - device_tracker.milight_hub_2

    # DSMR Current Watt delived now
    - sensor.dsmr_reading_electricity_currently_delivered

    # Zwave Motion sensors
    - binary_sensor.toilet_detection
    - binary_sensor.bathroom_detection
    - binary_sensor.hallway_detection
    - binary_sensor.livingroom_detection
    - binary_sensor.bedroom_detection
    - binary_sensor.kitchen_detection
    - binary_sensor.diningroom_detection
    - binary_sensor.bedroom_door_contact
    - binary_sensor.diningroom_door_contact
    - binary_sensor.frondoor_door_contact
    - binary_sensor.imac_door_contact

    # Zwave Watt and KwH
    - sensor.imac_watt
    - sensor.imac_kwh
    - sensor.toog_watt
    - sensor.toog_kwh
    - sensor.washer_watt
    - sensor.washer_kwh
    - sensor.hallway_watt
    - sensor.hallway_kwh
    - sensor.bank_watt
    - sensor.bank_kwh
    - sensor.dishwasher_watt
    - sensor.dishwasher_kwh
    - sensor.bedroom_watt
    - sensor.bedroom_kwh
    - sensor.peter_watt
    - sensor.peter_kwh
    - sensor.kay_watt
    - sensor.kay_kwh
    - sensor.dryer_watt
    - sensor.dryer_kwh

    # Sensors that have a correction
    - sensor.neo_plug_imac
    - sensor.neo_plug_toog
    - sensor.neo_plug_balcony
    - sensor.neo_plug_xmas_1
    - sensor.neo_plug_hallway
    - sensor.neo_plug_bedroom
    - sensor.neo_plug_peter
    - sensor.neo_plug_kay
    - sensor.neo_plug_dryer
    - sensor.neo_plug_washer
    - sensor.neo_plug_dishwasher
    - sensor.neo_plug_fridge

    # Switches
    - switch.balcony
    - switch.bathroom
    - switch.bedroom
    - switch.toilet
    - switch.hallway
    - switch.cooking
    - switch.diningtable
    - switch.dressoir
    - switch.kitchen
    - switch.sink
    - switch.wall
    - switch.window

will try to disable automations, eventhough I do not have any fancy ones running to see if this impacts this. On HACS /3rd party integrations I use quite a few, so it is difficult to tell which one may be causing the problem. but as mentionned I have an almost empty system running for tests and I can see that there is a small leak there as well (several days scale though), hence my idea of the core system, but you may be right that this is 3rd party related.

Interesting, thanks. Perhaps it’s come on more than I knew!

Struggling to find documentation for this - could you give me a point in the right direction?

sure, start here Mobile App - Home Assistant
and then follow the links for your device

and here Feature overview | Home Assistant Companion Docs is the full documentation of the possibilities

did you miss all of those posts in this thread on the subject? :wink: Hard really…

but yes, no more auto show all, nor currently the option to do so

you can manually rebuild that using auto-entities, though it is in no way a true replacement for what was lost on us. (it is way slower)

1 Like

I would like multiple datasets with entity’s for the history and had the idea to use groups to create such urls dynamically.

http://<ip_or_hostname>:8123/history?entity_id={% for entity in expand('group.windows')|map(attribute='entity_id')|unique|list|sort -%}
  {{ entity + '%2C' if not loop.last }}{{ entity if loop.last }}
{%- endfor %}

Unfortunately I can’t find a way to create a weblink or button action that supports templating. :frowning:

Thanks - I think I see the disconnection here. In my case, I’m not using the HA app as location data source, but rather a series of unconnected, external location sources instead. Unless I’m much mistaken, this need to run this functionality on the HA server-side rather than through the native HA app means this approach won’t work for me.

I might just not have found it yet but is there a way to use the β€œChange any weather unit to your preference” on Climate Entities, so changing C to F or vice versa.

Or create a new β€œArea” and add all entities you want to see into this Area… :slight_smile:

FYI for any other user also having this issue, this did the trick for me. Back to a 5 star upgrade with no issues.

Looks like 2022.7.1 fixed the issue for me with entity-less devices on the History page. I did need to clear my browser cache to completely resolve the problem.

Without 1:n areas not a solution either, if you are already using areas.

Except that would break all other areas…. No option to use more than 1 area or nest areas

Aamof I have an All House area, but that holds entities not tied to a specific area in the home. Things like Alarm system or motion detection, or alarmclock settings :wink: truly all Home things.

An interesting thought though, maybe we can use it in some way indeed

You aren’t clicking on the update instructions are you?

Well fwiw, I am on latest dev nightly and still saw the erratic behavior (!ofc cleared cache etc) . Maybe it’s tougher to beat this time

2022.7.1 does not have it fixed yet - Just FYI

1 Like

I don’t use areas and indeed you can only stick a entity to 1 area…

Β« There’s an integration for that Β»

Since upgrade to 2022.7.x following does not work anymore:

Logger: homeassistant.components.media_player
Source: components/frontier_silicon/media_player.py:157
Integration: Media player (documentation, issues)
First occurred: 09:21:32 (1 occurrences)
Last logged: 09:21:32

frontier_silicon: Error on device update!
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 446, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 702, in async_device_update
    await task
  File "/usr/src/homeassistant/homeassistant/components/frontier_silicon/media_player.py", line 157, in async_update
    mode.label: mode.key for mode in await afsapi.get_modes()
  File "/usr/local/lib/python3.10/site-packages/afsapi/api.py", line 577, in get_modes
    self.__modes = [
  File "/usr/local/lib/python3.10/site-packages/afsapi/api.py", line 578, in <listcomp>
    PlayerMode(key=k, **v)  # type: ignore
TypeError: PlayerMode.__init__() missing 2 required positional arguments: 'streamable' and 'modetype'

issue also known: frontier_silicon stopped working with 2022.07.0 Β· Issue #74717 Β· home-assistant/core (github.com)

1 Like

I hope you’ve got enormous ascii art titles in every one of your config files sir.

3 Likes