Opsdroid Home AssistantΒΆ

https://img.shields.io/travis/com/opsdroid/opsdroid-homeassistant?logo=travisBuild Status https://codecov.io/gh/opsdroid/opsdroid-homeassistant/branch/master/graph/badge.svgcodecov https://img.shields.io/readthedocs/opsdroid-homeassistantRead the Docs

A plugin for Opsdroid to enable Home Assistant automation.

Opsdroid is an automation framework for building bots. It is built on an event flow model where events are created (often by a user saying something in a chat client), the events can then be parsed using various AI services to add additional context and finally user defined Python functions called Skills can be triggered as a result.

Home Assistant is a home control toolkit which allows you to bring all of your smart home devices together into one application. It is also built on an event loop where device states are updated in real time and can trigger automations. Automations in Home Assistant are defined in YAML and can become unwieldy when trying to set up complex automations.

This plugin allows you to bridge the two event loops so that state changes in Home Assistant can trigger Skills in Opsdroid and then Opsdroid can make service calls back to Home Assistant to change states of devices. This enables you to write automations in Python allowing you to define simpler and more readable automations.