Giter Site home page Giter Site logo

rille111 / opensource.homeassistant.appstarter Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 8.0 34 KB

Home Assistant 'Hass' is a home automation system running on Unix-systems. This package aims to enable .NET developers to create their own 'app-like' programs that integrate with Home Assistant through it's Websocket and Web API's.

License: Apache License 2.0

C# 100.00%
home-assistant home-automation

opensource.homeassistant.appstarter's People

Contributors

isabellaalstrom avatar rille111 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opensource.homeassistant.appstarter's Issues

Help

Hi.

Your code looks perfect for my project however....

I would like to use this to just send services via websocket to Home Assistant, could you provide some code sample on how to do this, i thought i understood but it never seems to output anything other than
image

Thanks.

System.ArgumentException: oldValue is the empty string.

I had success logging in, and now I'm trying so subscribe to something.
With this code:
`public class SwitchUpdate : IHassApp
{
public async Task ExecuteAsync(EventData e, string rawData)
{
var a = "b";
return;
}

    public bool IsExecuting { get; set; }
    public string TriggeredByEntities { get; set; } = "light.*";
}`

I get the following error:
FATAL UNHANDLED EXCEPTION: System.ArgumentException: oldValue is the empty string.

I also have a similar IHassApp-implementation, triggered by sun.sun, which gives me the same error.
I'm using Xamarin, but I don't think it has anything to do with this?
I'm using Home Assistant 0.75.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.