mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-04-19 10:47:15 +00:00

* Improve Home Assistant Core WebSocket proxy implementation This change removes unnecessary task creation for every WebSocket message and instead creates just two tasks, one for each direction. This improves performance by about factor of 3 when measuring 1000 WebSocket requests to Core (from ~530ms to ~160ms). While at it, also handle all WebSocket message related to closing the WebSocket and report all other errors as warnings instead of just info. * Improve logging and error handling * Add WS client error test case * Use asyncio.gather directly * Use asyncio.wait to handle exceptions gracefully * Drop cancellation handling and correctly wait for the other proxy task
Home Assistant Supervisor
First private cloud solution for home automation
Home Assistant (former Hass.io) is a container-based system for managing your Home Assistant Core installation and related applications. The system is controlled via Home Assistant which communicates with the Supervisor. The Supervisor provides an API to manage the installation. This includes changing network settings or installing and updating software.
Installation
Installation instructions can be found at https://home-assistant.io/getting-started.
Development
For small changes and bugfixes you can just follow this, but for significant changes open a RFC first. Development instructions can be found here.
Release
Releases are done in 3 stages (channels) with this structure:
- Pull requests are merged to the
main
branch. - A new build is pushed to the
dev
stage. - Releases are published.
- A new build is pushed to the
beta
stage. - The
stable.json
file is updated. - The build that was pushed to
beta
will now be pushed tostable
.
Description
Languages
Python
94.6%
JavaScript
5.3%