homeassistant package

Submodules

bootstrap module

config module

const module

Constants used by Home Assistant components.

core module

exceptions module

The exceptions used by Home Assistant.

exception homeassistant.exceptions.HomeAssistantError[source]

Bases: Exception

General Home Assistant exception occurred.

exception homeassistant.exceptions.InvalidEntityFormatError[source]

Bases: homeassistant.exceptions.HomeAssistantError

When an invalid formatted entity is encountered.

exception homeassistant.exceptions.InvalidStateError[source]

Bases: homeassistant.exceptions.HomeAssistantError

When an invalid state is encountered.

exception homeassistant.exceptions.NoEntitySpecifiedError[source]

Bases: homeassistant.exceptions.HomeAssistantError

When no entity is specified.

exception homeassistant.exceptions.PlatformNotReady[source]

Bases: homeassistant.exceptions.HomeAssistantError

Error to indicate that platform is not ready.

exception homeassistant.exceptions.TemplateError(exception: jinja2.exceptions.TemplateError)[source]

Bases: homeassistant.exceptions.HomeAssistantError

Error during template rendering.

loader module

Module contents

Init file for Home Assistant.