mirror of
https://github.com/elisspace/core.git
synced 2026-09-02 01:06:07 +00:00
b64ae55c66cd46138e626d0503bb47db3b31f303
* Prebake common history queries The python overhead of to construct the queries exceeded the database overhead. We now prebake the queries that get frequently polled. This reduces the time it takes to update history_stats sensors and can make quite a difference if there are a lot of them. When using the mini-graph-card card, all the entities on the card being graphed are queried every few seconds for new states. Previously this would tie up the database if there are lot of these graphs in the UI. * Update homeassistant/components/history/__init__.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * Update homeassistant/components/history/__init__.py Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> * cache entity_filter in the lambda * switch to yield * Revert "switch to yield" This reverts commit f8386f494002178729b67b54dd299affd406f2f2. * get_states always returns a list * query wasnt actually reusable so revert part of the breakout Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
…
…
Home Assistant |Chat Status| ================================================================================= Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Check out `home-assistant.io <https://home-assistant.io>`__ for `a demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__, `tutorials <https://home-assistant.io/getting-started/automation-2/>`__ and `documentation <https://home-assistant.io/docs/>`__. |screenshot-states| Featured integrations --------------------- |screenshot-components| The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/en/architecture_index.html>`__ and the `section on creating your own components <https://developers.home-assistant.io/docs/en/creating_component_index.html>`__. If you run into issues while using Home Assistant or during development of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information. .. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg :target: https://discord.gg/c5DvZ4e .. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png :target: https://home-assistant.io/demo/ .. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png :target: https://home-assistant.io/integrations/
Description
Languages
Python
100%