Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.55 KB

HASS_API_REFERENCE.rst

File metadata and controls

53 lines (37 loc) · 1.55 KB

HASS API Reference

This page provides a list of API calls and specific information related to the HASS plugin.

App Creation

To create apps based on just the AppDaemon base API, use some code like the following:

import hassapi as hass

class MyApp(hass.Hass):

    def initialize(self):

Reference

Services

appdaemon.plugins.hass.hassapi.Hass.turn_on

appdaemon.plugins.hass.hassapi.Hass.turn_off

appdaemon.plugins.hass.hassapi.Hass.toggle

appdaemon.plugins.hass.hassapi.Hass.set_value

appdaemon.plugins.hass.hassapi.Hass.set_textvalue

appdaemon.plugins.hass.hassapi.Hass.select_option

appdaemon.plugins.hass.hassapi.Hass.notify

appdaemon.plugins.hass.hassapi.Hass.render_template

Presence

appdaemon.plugins.hass.hassapi.Hass.get_trackers

appdaemon.plugins.hass.hassapi.Hass.get_tracker_details

appdaemon.plugins.hass.hassapi.Hass.get_tracker_state

appdaemon.plugins.hass.hassapi.Hass.anyone_home

appdaemon.plugins.hass.hassapi.Hass.everyone_home

appdaemon.plugins.hass.hassapi.Hass.noone_home

Database

appdaemon.plugins.hass.hassapi.Hass.get_history

See More

Read the AppDaemon API Reference to learn other inherited helper functions that can be used by Hass applications.