homeassistant_dart library

Support for doing something awesome.

More dartdocs go here.

Classes

API
APIStatus

Functions

call_service(dynamic api, dynamic domain, dynamic service, [ dynamic service_data = null ]) → Future<String>
get_config(dynamic api) → Future<Map>
get_services(dynamic api) → Future<List>
get_state(dynamic api, String entity_id) → Future<Map>
get_states(dynamic api) → Future<List>
is_state(dynamic api, dynamic entity_id, dynamic state) → Future<bool>
set_state(dynamic api, dynamic entity_id, dynamic new_state, [ dynamic attributes = null, dynamic force_update = false ]) → Future<bool>
validate_api(dynamic api) → Future<String>