🏡 Open source home automation that puts local control and privacy first.
Go to file
Leah Oswald 66d8856033
Fix home connect remaining progress time (#109525)
* fix remaining progress time for home connect component

The home connect API is sending some default values (on dishwashers) for
the remaining progress time after the program finished. This is a problem
because this value is stored and on every API event, for example opening
the door of a dishwasher, the value for remaining progress time is
updated with this wrong value. So I see a wrong value the whole time the
dishwasher is not running and therefore has no remaining progress time.
This coming fixes this problem and adds a check if the appliance is in
running, pause or finished state, because there we have valid data. In
the other states the new code just returns none like on other edge
cases. Now there is no value if there is no program running.

* fix some formating according to the ruff rules

* fix some formating according to the ruff rules again

* fix alphabetic order of imports

* add check if keys exist in dict before accessing them

check if BSH_OPERATION_STATE and ATTR_VALUE key values exist before
accessing them later in the elif statement

* fix formating because forgotten local ruff run
2024-02-05 09:41:30 +01:00
.devcontainer Add Shelly CoAP port to default container port (#108016) 2024-01-24 19:00:57 +01:00
.github Fix readme images (#108767) 2024-01-30 15:00:57 +01:00
.vscode Add task to install all requirements of an integration (#108262) 2024-01-18 22:11:02 +01:00
homeassistant Fix home connect remaining progress time (#109525) 2024-02-05 09:41:30 +01:00
machine Add Raspberry Pi 5 specific container image (#105488) 2023-12-11 17:39:48 +01:00
pylint Add pylint plugin to check if coordinator is placed in its own module (#108174) 2024-01-29 10:30:19 +01:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Allow the helper integrations to omit icon translation field (#109648) 2024-02-04 23:25:22 +01:00
tests Don't create AsusWRT loadavg sensors when unavailable (#106790) 2024-02-05 09:41:23 +01:00
.core_files.yaml Add todo to core files (#103102) 2023-10-31 07:55:03 +01:00
.coveragerc Add config flow to GPSD (#106196) 2024-01-31 18:38:14 +01:00
.dockerignore Not to Tox (#76582) 2022-11-23 14:40:37 +01:00
.gitattributes Ensure .pcm binary files do not have line endings changed (#91881) 2023-04-22 22:22:30 -04:00
.gitignore Remove dev API docs from repository (#102274) 2023-10-20 08:10:46 +02:00
.hadolint.yaml Update base image to 2023.10.0 (#102126) 2023-10-18 19:11:41 +02:00
.pre-commit-config.yaml Ensure pre-commit runs hassfest when icons change (#108470) 2024-01-20 13:28:11 +01:00
.prettierignore Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
.strict-typing Add romy vacuum integration (#93750) 2024-01-31 10:48:44 +01:00
.yamllint Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
CLA.md
CODEOWNERS Add config flow to GPSD (#106196) 2024-01-31 18:38:14 +01:00
CODE_OF_CONDUCT.md Update URLs forwarding to HA blog posts (#91698) 2023-04-20 20:55:13 +02:00
CONTRIBUTING.md
Dockerfile Attempt to fix 32bit docker builds (#107210) 2024-01-05 08:23:04 +01:00
Dockerfile.dev Add ffmpeg to dev-container (#106710) 2023-12-30 13:14:49 +01:00
LICENSE.md
MANIFEST.in
README.rst Fix readme images (#108767) 2024-01-30 15:00:57 +01:00
build.yaml Update Home Assistant base image to 2024.02.0 (#109329) 2024-02-01 22:29:42 +01:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
mypy.ini Add romy vacuum integration (#93750) 2024-01-31 10:48:44 +01:00
pyproject.toml Bump version to 2024.2.0b6 2024-02-04 23:25:49 +01:00
requirements.txt Update orjson to 3.9.13 (#109614) 2024-02-04 23:25:11 +01:00
requirements_all.txt Fix Tuya QR code expiry, use native QR selector (#109615) 2024-02-04 23:25:14 +01:00
requirements_test.txt Update coverage to 7.4.1 (#109116) 2024-01-30 13:30:22 +01:00
requirements_test_all.txt Fix Tuya QR code expiry, use native QR selector (#109615) 2024-02-04 23:25:14 +01:00
requirements_test_pre_commit.txt Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080) 2023-12-20 23:55:09 +01:00

README.rst

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://demo.home-assistant.io>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-integrations|

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/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

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://www.home-assistant.io/join-chat/
.. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/dev/.github/assets/screenshot-states.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/.github/assets/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/