Git Product home page Git Product logo

Comments (7)

generalk25 avatar generalk25 commented on August 12, 2024 1

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on August 12, 2024

pilotak/homeassistant-attributes

I'm using the above from HACs to display attributes of entities as their own entities.

It's worked fine till i tried to extract attribute states from your rest980 app. The sensor shows things as a subset of attributes and i have no idea how to reference them.

Normally we'd do the following....

  • platform: attributes
    friendly_name: "cleaning_time"
    attribute: cleaning_time
    entities:
    • vacuum.jessipooh

However, now that we're doing rest980 instead of the standard roomba integration.. i have no idea how to reference a nested attribute.

  • platform: attributes
    friendly_name: "bin_present"
    attribute: ('sensor.rest980', 'bin')['present']
    entities:
    • sensor.rest980

And that sure as heck doesn't work.

  • platform: attributes
    friendly_name: "bin_present"
    attribute: ('bin')['present']
    entities:
    • sensor.rest980

Nor this.

  • platform: attributes
    friendly_name: "bin_present"
    attribute: present
    entities:
    • sensor.rest980

Nor this.

from ha-rest980-roomba.

jeremywillans avatar jeremywillans commented on August 12, 2024

Try referencing sensor.vacuum? I have already put these into attributes for easy reference in the LL card and automations.

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on August 12, 2024

I can't reference it anymore. Since the integration of rest980 the others just show unavailable all the time.

It's kind of irrelevant anyway since yours gives much more info.

I'd prefer to use yours. You stated you already put them up for easy reference. I see them visually on the lovelace card but i'm not sure how i'd poll their state for an automation.

from ha-rest980-roomba.

jeremywillans avatar jeremywillans commented on August 12, 2024

Let me clarify, my integration also has a sensor.vacuum!

It's in the vacuum.yaml file

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on August 12, 2024

Oh, neat let me give that a try, thanks jeremy.

from ha-rest980-roomba.

generalk25 avatar generalk25 commented on August 12, 2024

referenced sensor.vacuum

from ha-rest980-roomba.

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.