This page provides a list of API calls and specific information related to the HASS plugin.
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):
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
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
appdaemon.plugins.hass.hassapi.Hass.get_history
Read the AppDaemon API Reference to learn other inherited helper functions that can be used by Hass applications.