🏡 Open source home automation that puts local control and privacy first.
Go to file
Phil Frost 7d6ef4445e Report states (#11973)
* Refactor Alexa Smart Home API

Having an object per interface will make it easier to support
properties.

Ideally, properties are reported in context in all responses. However
current implementation reports them only in response to a ReportState
request. This seems to work sufficiently. As long as the device is
opened in the Alexa app, Amazon will poll the device state every few
seconds with a ReportState request.

* Report properties for some Alexa interfaces

Fixes (mostly) #11874.

Other interfaces will need properties implemented as well.

Implementing properties for just PowerController seems sufficient to
eliminate the "There was a problem." error for any device that supports
it, even if other interfaces are supported. Of course the additional
properties will be reported incorrectly in the Alexa app.

Includes a minor bugfix: `reportable` was previously placed incorrectly
in the responses, so Amazon was ignoring it.
2018-01-28 17:00:34 -08:00
.github Enable probot move (#11690) 2018-01-16 09:25:13 +01:00
docs
homeassistant Report states (#11973) 2018-01-28 17:00:34 -08:00
script Pushbullet (fix) invalid keyword, added unittests (#11804) 2018-01-24 21:06:35 +01:00
tests Report states (#11973) 2018-01-28 17:00:34 -08:00
virtualization Change telldus domain to download.telldus.com (#11825) 2018-01-20 17:07:45 +01:00
.coveragerc Add Goalfeed platform (#11098) 2018-01-28 14:04:40 +01:00
.dockerignore
.gitattributes
.gitignore
.gitmodules
.hound.yml
.ignore
.travis.yml
CLA.md
CODEOWNERS Spelling fixes (#11940) 2018-01-27 11:58:27 -08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md
Dockerfile Change telldus domain to download.telldus.com (#11825) 2018-01-20 17:07:45 +01:00
LICENSE.md
MANIFEST.in
README.rst
pylintrc
requirements_all.txt Upgrade pyota to 2.0.4 (#11991) 2018-01-28 18:04:54 +01:00
requirements_docs.txt Upgrade sphinx-autodoc-typehints to 1.2.4 (#11954) 2018-01-27 11:59:19 -08:00
requirements_test.txt Improved test runtime (#11553) 2018-01-09 16:00:49 -08:00
requirements_test_all.txt Upgrade coinmarketcap to 4.2.1 (#11953) 2018-01-27 11:59:33 -08:00
setup.cfg
setup.py Upgrade yarl to 0.18.0 (#11609) 2018-01-13 09:01:05 +01:00
tox.ini update mypy commandline arguments (#11638) 2018-01-15 22:41:49 +01:00

README.rst

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

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/