🏡 Open source home automation that puts local control and privacy first.
Go to file
Patrik Lindgren 3ca1b2fc6e
Add air quality sensor for Tradfri air purifier (#65070)
* Add air quality sensor for Tradfri fan platform

* Refactor, use entity description

* Fix typo

* CHange init docstring

* Let lambda handle special case

* Remove unique id

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Refactor to constants, add mixin

* Rename lambda

* Update homeassistant/components/tradfri/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/tradfri/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/tradfri/sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Replace lambda with function

* Refactor device init

* Remove fixture scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-01-29 23:55:05 +01:00
.devcontainer VSCode switch to terminal.integrated.profiles (#54301) 2021-08-21 21:46:24 +02:00
.github Use isolated build environments (#65145) 2022-01-28 14:09:05 -08:00
.vscode Add 'compile translations' task to VSCode tasks (#64933) 2022-01-25 20:55:02 -08:00
docs Update featured integrations screenshot in README (#64046) 2022-01-13 18:26:13 +01:00
homeassistant Add air quality sensor for Tradfri air purifier (#65070) 2022-01-29 23:55:05 +01:00
machine Update base image 2021.11.0 (#60227) 2021-11-24 09:48:34 +01:00
pylint/plugins Adjust pylint plugin to enforce device_tracker type hints (#64903) 2022-01-25 18:21:59 +01:00
rootfs Pass exit code to s6-init (#59545) 2021-11-14 16:56:09 +01:00
script Use isolated build environments (#65145) 2022-01-28 14:09:05 -08:00
tests Add air quality sensor for Tradfri air purifier (#65070) 2022-01-29 23:55:05 +01:00
.core_files.yaml Add diagnostics to the core files (#64417) 2022-01-19 10:55:33 +01:00
.coveragerc Add config flow to ISS integration (#64987) 2022-01-29 11:41:26 +02:00
.dockerignore
.gitattributes
.gitignore Ignore config directory symlink in development (#56639) 2021-09-25 12:53:41 +02:00
.hadolint.yaml
.ignore
.pre-commit-config.yaml Add dedicated pre-commit hook for mypy_config [hassfest] (#65092) 2022-01-28 19:46:17 +01:00
.prettierignore
.readthedocs.yml
.strict-typing Improve code quality trafikverket_train (#62677) 2022-01-19 20:57:05 +01:00
.yamllint
CLA.md
CODEOWNERS Add config flow to ISS integration (#64987) 2022-01-29 11:41:26 +02:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Extend Docker build caching opportunities (#60661) 2021-12-01 13:20:00 +01:00
Dockerfile.dev Add libturbojpeg0 to dev-container (#64466) 2022-01-19 22:04:13 +01:00
LICENSE.md
MANIFEST.in Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
README.rst
build.yaml Update base image 2021.11.0 (#60227) 2021-11-24 09:48:34 +01:00
codecov.yml Add little slack to CodeCov project/config-flows threshold (#63379) 2022-01-04 16:26:22 +01:00
mypy.ini Add plugin option [hassfest] (#65024) 2022-01-26 20:52:09 -08:00
pyproject.toml Rewrite pylint init-hook (#65193) 2022-01-29 23:47:40 +01:00
requirements.txt Remove `backports.zoneinfo` dependency (#65069) 2022-01-27 09:59:27 -08:00
requirements_all.txt Bump pyefergy to 22.1.1 (#65156) 2022-01-29 16:01:00 +02:00
requirements_docs.txt
requirements_test.txt Update pylint to 2.12.2 (#64896) 2022-01-25 10:20:20 +01:00
requirements_test_all.txt Bump pyefergy to 22.1.1 (#65156) 2022-01-29 16:01:00 +02:00
requirements_test_pre_commit.txt Update codespell to 2.1.0 (#64661) 2022-01-21 22:05:24 +01:00
setup.cfg Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
setup.py Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
tox.ini Drop Python 3.8 support (#63883) 2022-01-11 12:00:53 +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://home-assistant.io/demo/>`__, `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-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/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://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/