Git Product home page Git Product logo

Comments (8)

DavidMStraub avatar DavidMStraub commented on September 23, 2024

I think that's a good idea. But if we add a sensor it also needs to have a "value" (besides the attributes) and a name. What would you suggest for that? Maybe just 'on' or 'off' (i.e. a binary sensor)?

from homeassistant-homeconnect.

robvanuden avatar robvanuden commented on September 23, 2024

It depends on the property.
The "remote control allowed state" would be a binary sensor, the currently selected program a sensor (or maybe even an input select).
Let's save the properties as attributes first, create template sensors/switches ourselves, and check what sensors/switches would be useful to include in the custom component.

from homeassistant-homeconnect.

DavidMStraub avatar DavidMStraub commented on September 23, 2024

Right, what I meant was where to save the attributes in the first step (where there are no dedicated sensors/switches yet).

from homeassistant-homeconnect.

robvanuden avatar robvanuden commented on September 23, 2024

I think it's the most clear to create one sensor per device (that will be extra compared to the current situation).

from homeassistant-homeconnect.

DavidMStraub avatar DavidMStraub commented on September 23, 2024

If you want to give this a shot, I'd be happy about a PR 👍

from homeassistant-homeconnect.

robvanuden avatar robvanuden commented on September 23, 2024

We could at it also to the power switch (there is already one per device right?)
I will work on it, but have to get used to Python etc, so not sure how long it will take.

from homeassistant-homeconnect.

DavidMStraub avatar DavidMStraub commented on September 23, 2024

Yes, adding it to the power switch is a good idea!

from homeassistant-homeconnect.

DavidMStraub avatar DavidMStraub commented on September 23, 2024

This is implemented now. I decided to shorten the long attribute names like BSH.Common.EnumType.DoorState.Closed to simply closed. Example:

Screenshot_20191119_160303

from homeassistant-homeconnect.

Related Issues (20)

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.