Coder Social home page Coder Social logo

Comments (3)

nielsfaber avatar nielsfaber commented on June 24, 2024

I fully agree with you this information should be displayed here.
I can also think of other scenarios, like the alarm failing to arm due to some open sensor.
The question is: how?

As far as I know, the logbook component of HA decides on its own which information is displayed.
I am not aware of any provision I can make in the code of Alarmo to make more information show up.
There is no or very little documentation available for developers to improve interaction with the logbook.
I believe the correct term for this extra information is context: https://data.home-assistant.io/docs/context

So in summary, if you or anyone else can give some pointers on how to add provisions for this, I'd be happy to do so.
At the moment I have no idea if or how your request can be fulfilled.

from alarmo.

tomer-w avatar tomer-w commented on June 24, 2024

@nielsfaber I think you are right. We should probably grab the new context - new_state.context from async_sensor_state_changed and then send a new context pointing to it when you set the Alarmo state to triggered.
I am still not sure how to send this new context using the wrappers you are using. Let me know if you want me to try to do it or you have better idea.

from alarmo.

github-actions avatar github-actions commented on June 24, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

from alarmo.

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.