🏡 Open source home automation that puts local control and privacy first.
Go to file
Ville Skyttä 2a4ab3d53d
Support HTTPS connections to Huawei LTE devices (#86119)
* Support HTTPS connections to Huawei LTE devices

Not all devices support HTTPS, so we default to plain HTTP still.

Ones that do are very likely to have certificates that do not pass
hostname verification, and are either self signed or issued by an
untrusted CA. Add option to use unverified HTTPS to make it possible to
connect to these, and when in effect, filter urllib3's related warnings
about insecure connections to the hostname in question.

* Use common config key and strings for certificate verification settings

Even though the wording might be slightly suboptimal here, it's better
to be consistent across the codebase than to finetune on this level.

This also switches the default the other way around: verification is
now disabled by default. This is not a good general default, but for
this particular case setups where the verification would succeed would
be so rare and require considerable local setup that it's very
unlikely to happen in practice.

* Add config flow tests

* Mock logout for better test coverage

* Set up custom requests session only when using unverified https

* Add https config flow test case

* Make better use of verify SSL default
2023-11-27 18:03:29 +01:00
.devcontainer Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
.github Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
.vscode Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
homeassistant Support HTTPS connections to Huawei LTE devices (#86119) 2023-11-27 18:03:29 +01:00
machine Add Home Assistant Green (#98171) 2023-08-10 15:00:43 +02:00
pylint Change todo move API to reference previous uid (#102795) 2023-10-26 18:43:10 +02:00
rootfs Stop the Home Assistant Core container by default (#101105) 2023-09-30 10:43:07 +02:00
script Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
tests Support HTTPS connections to Huawei LTE devices (#86119) 2023-11-27 18:03:29 +01:00
.core_files.yaml Add todo to core files (#103102) 2023-10-31 07:55:03 +01:00
.coveragerc Add init test to Blink (#103263) 2023-11-27 11:13:40 +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 Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
.prettierignore Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
.strict-typing Add Linear Garage Door integration (#91436) 2023-11-22 09:35:31 +01:00
.yamllint Add tests for yaml syntax errors (#103908) 2023-11-13 14:04:58 +01:00
CLA.md
CODEOWNERS Remove code owner for envisalink integration (#103864) 2023-11-27 09:59:18 +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 Update base image to 2023.10.0 (#102126) 2023-10-18 19:11:41 +02:00
Dockerfile.dev Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +01:00
LICENSE.md
MANIFEST.in Move remaining keys to `setup.cfg` (#65154) 2022-01-28 20:18:09 -08:00
README.rst Update URL in readme (#94282) 2023-06-09 09:24:53 +02:00
build.yaml Update base image to 2023.10.1 (#102568) 2023-10-23 10:48:05 +02:00
codecov.yml Add recorder platform to required test category (#86704) 2023-01-26 11:03:56 +01:00
mypy.ini Add Linear Garage Door integration (#91436) 2023-11-22 09:35:31 +01:00
pyproject.toml Bump aiohttp-fast-url-dispatcher to 0.3.0 (#104592) 2023-11-27 09:04:04 -06:00
requirements.txt Bump aiohttp-fast-url-dispatcher to 0.3.0 (#104592) 2023-11-27 09:04:04 -06:00
requirements_all.txt Bump aiohttp-fast-url-dispatcher to 0.3.0 (#104592) 2023-11-27 09:04:04 -06:00
requirements_test.txt Update mypy to 1.7.1 (#104434) 2023-11-24 10:08:48 +01:00
requirements_test_all.txt Bump aiohttp-fast-url-dispatcher to 0.3.0 (#104592) 2023-11-27 09:04:04 -06:00
requirements_test_pre_commit.txt Switch formatting from black to ruff-format (#102893) 2023-11-27 14:38:59 +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/master/docs/screenshots.png
   :target: https://demo.home-assistant.io
.. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png
   :target: https://home-assistant.io/integrations/