homeassistant_dart 0.1.0
homeassistant_dart: ^0.1.0 copied to clipboard

HomeAssistant API bindings for dart.

HomeAssistant-Dart #

HomeAssistant Icon HomeAssistant-Dart is a dart bindings package modeled after the official python bindings.

Currently implemented methods:

  • validate_api
  • set_state
  • get_state
  • get_states
  • is_state
  • get_services
  • call_services
  • get_config

Usage #

A simple usage example:

import 'package:homeassistant_dart/homeassistant_dart.dart' as remote;
main() async{
  var api = remote.API('192.168.1.100', 'password', 'port');
  print(await remote.validate_api(api));
}

Created from templates made available by Stagehand under a BSD-style

license.

1
likes
50
pub points
0%
popularity

Publisher

Unknown

HomeAssistant API bindings for dart.

Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

http, path, sprintf, uri

More

Packages that depend on homeassistant_dart