No description
Find a file
CV db07e45df8 Fix breaking on HTML email without images (#22143)
* Fix breaking on HTML email without images

If using html emails with no images the code breaks since it is not tested for empty (uninitialized) key images.

* fixed long line

* Implemented suggested better solution

Better solution to allow data -> html email without images.

* Protecting data -> without html key from crashing

If the data key does not contain the html key, sending the email would crash this "script". Preventing this by returning an default empty array.
2019-03-19 14:37:12 -07:00
.github Add breaking change section to PR template (#21994) 2019-03-13 10:54:30 +01:00
docs Add missing helpers (#21021) 2019-02-12 20:52:02 -06:00
homeassistant Fix breaking on HTML email without images (#22143) 2019-03-19 14:37:12 -07:00
script Consolidate all platforms that have no tests (#22096) 2019-03-16 20:44:05 -07:00
tests Better handling of HomeKit accessory-information service (#22171) 2019-03-19 15:04:20 -04:00
virtualization Upgrade prefetched tox env to py37 (#22029) 2019-03-14 13:09:32 +01:00
.coveragerc Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
.dockerignore Docker cleanup. (#8226) 2017-06-30 08:07:33 -07:00
.gitattributes Fix line endings [skipci] (#12333) 2018-02-11 23:07:28 -08:00
.gitignore Include Scripts/ directory to .gitignore - this is created by virtualenv on Windows (#18918) 2019-01-11 13:04:56 -08:00
.hound.yml Add .hound.yml 2016-11-13 11:34:09 -08:00
.ignore Include .ignore file for search utilities (#5290) 2017-01-16 22:52:53 -08:00
.readthedocs.yml Rename readthedocs file (#17718) 2018-10-23 17:39:17 +02:00
.travis.yml Live Streams Component (#21473) 2019-03-11 19:57:10 -07: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 Add organization docs 2017-01-22 16:21:20 -08:00
CODEOWNERS Consolidate all platforms that have tests (#22109) 2019-03-18 23:07:39 -07:00
CONTRIBUTING.md Update developer doc links to developers.home-assistant.io (#16622) 2018-09-15 13:27:37 +02:00
Dockerfile Set uvloop version consistent with hass.io (#21080) 2019-02-15 10:25:03 -08:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Consolidate frontend (#9915) 2017-10-24 19:36:27 -07:00
mypy.ini Disable assuming Optional type for values with None default (#16029) 2018-08-17 20:22:49 +02:00
pylintrc Add unnecessary-pass for pylint-update (#18985) 2018-12-04 10:45:16 +01:00
README.rst Remove reviewed by hound. That's not worth a badge. 2018-12-18 11:06:30 +01:00
requirements_all.txt Upgrade youtube_dl to 2019.03.18 (#22181) 2019-03-19 15:01:58 -04:00
requirements_docs.txt Upgrade Sphinx to 1.8.5 (#22180) 2019-03-19 15:02:56 -04:00
requirements_test.txt Upgrade pytest to 4.3.1 (#22088) 2019-03-16 08:13:45 +01:00
requirements_test_all.txt Updated frontend to 20190319.0 2019-03-19 11:38:05 -07:00
setup.cfg Add Python 3.7 classifier (#16645) 2018-09-24 11:11:24 +02:00
setup.py Upgrade ruamel.yaml to 0.15.89 (#22064) 2019-03-15 09:22:00 -07:00
tox.ini Make pytest in tox quite (#21727) 2019-03-06 22:27:46 -08:00

Home Assistant |Build Status| |Coverage Status| |Chat Status|
=================================================================================

Home Assistant is a home automation platform running on Python 3. It is able to track and control all devices at home and offer a platform for automating control.

To get started:

.. code:: bash

    python3 -m pip install homeassistant
    hass --open-ui

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

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.

.. |Build Status| image:: https://travis-ci.org/home-assistant/home-assistant.svg?branch=master
   :target: https://travis-ci.org/home-assistant/home-assistant
.. |Coverage Status| image:: https://img.shields.io/coveralls/home-assistant/home-assistant.svg
   :target: https://coveralls.io/r/home-assistant/home-assistant?branch=master
.. |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/components/