1
mirror of https://github.com/home-assistant/core synced 2024-09-03 08:14:07 +02:00
Go to file
Erik Montnemery 5987266e56
Refactor template entity to allow reuse (#72753)
* Refactor template entity to allow reuse

* Fix schema and default name

* Add tests

* Update requirements

* Improve test

* Tweak TemplateSensor initializer

* Drop attributes and availability from TemplateEntity

* Use rest sensor for proof of concept

* Revert changes in SNMP sensor

* Don't set _attr_should_poll in mixin class

* Update requirements
2022-06-08 15:55:49 +02:00
.devcontainer Add GitHub PRs and issues extension to devcontainer (#69296) 2022-04-05 10:17:56 +02:00
.github Bump actions/cache from 3.0.3 to 3.0.4 (#73203) 2022-06-08 09:07:05 +02:00
.vscode Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +01:00
docs Update screenshot for new MQTT logo (#71023) 2022-04-28 14:29:22 -07:00
homeassistant Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
machine Remove deprecated Raspberry Pi GPIO integration (#71777) 2022-05-13 12:13:26 +02:00
pylint/plugins Add FlowResultType enum to data entry flow (#72955) 2022-06-07 22:02:44 -07:00
rootfs Fix logging & exit code reporting to S6 on HA shutdown (#72921) 2022-06-02 19:49:08 +02:00
script Add package constraint for pydantic (#72799) 2022-05-31 20:04:35 -10:00
tests Refactor template entity to allow reuse (#72753) 2022-06-08 15:55:49 +02:00
.core_files.yaml Move remaining metadata to pyproject (#72469) 2022-05-26 02:54:49 +02:00
.coveragerc Make radiotherm hold mode a switch (#73104) 2022-06-07 14:26:06 -10:00
.dockerignore Integrate dockerbuild (#33168) 2020-03-23 00:39:37 +01:00
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Ignore config directory symlink in development (#56639) 2021-09-25 12:53:41 +02:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.ignore Include .ignore file for search utilities (#5290) 2017-01-16 22:52:53 -08:00
.pre-commit-config.yaml Add mypy checks to pylint plugins (#72821) 2022-06-02 00:06:19 +02:00
.prettierignore Bump prettier to v2.6.1 and enable on CI (#68877) 2022-03-30 13:10:48 +02:00
.readthedocs.yml Update readthedocs config (#65230) 2022-01-30 20:15:32 -08:00
.strict-typing Remove iAlarm XR integration (#73083) 2022-06-06 22:23:10 -07:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
build.yaml Base Image: S6 overlay & jemalloc update (#72425) 2022-05-24 15:51:06 +02:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:34 -08:00
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#36142) 2020-05-25 19:40:40 -04:00
codecov.yml Add little slack to CodeCov project/config-flows threshold (#63379) 2022-01-04 16:26:22 +01:00
CODEOWNERS Remove iAlarm XR integration (#73083) 2022-06-06 22:23:10 -07:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Revert "Remove sqlite 3.34.1 downgrade workaround by reverting "Downgrade sqlite-libs on docker image (#55591)" (#72342)" (#72578) 2022-05-26 22:15:43 -10:00
Dockerfile.dev Improve scrape performance by using lxml parser (#71087) 2022-05-01 21:04:05 -05:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Move remaining keys to setup.cfg (#65154) 2022-01-28 20:18:09 -08:00
mypy.ini Remove iAlarm XR integration (#73083) 2022-06-06 22:23:10 -07:00
pyproject.toml Update pylint to 2.14.0 (#73119) 2022-06-06 21:43:47 +02:00
README.rst Update images (#71215) 2022-05-03 12:34:57 +02:00
requirements_all.txt Bump yolink-api to 0.0.8 (#73173) 2022-06-08 08:11:41 +02:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test_all.txt Bump yolink-api to 0.0.8 (#73173) 2022-06-08 08:11:41 +02:00
requirements_test_pre_commit.txt Update pyupgrade to v2.32.1 (#71939) 2022-05-16 13:58:54 +02:00
requirements_test.txt Update pylint to 2.14.1 (#73144) 2022-06-07 07:57:41 +02:00
requirements.txt Revert "Initial orjson support (#72754)" (#72789) 2022-05-31 13:51:55 -07:00
setup.cfg Add comment for editable installs (#72782) 2022-05-31 23:04:47 +02:00
tox.ini Allow for using pip 22.1(.x) (#72348) 2022-05-23 11:58:19 +02:00

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.githubusercontent.com/home-assistant/core/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-components| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-components.png
   :target: https://home-assistant.io/integrations/