Coder Social home page Coder Social logo

georgesg / ha-slack-user Goto Github PK

View Code? Open in Web Editor NEW
24.0 3.0 5.0 188 KB

Slack User sensor for Home Assistant

License: MIT License

Python 98.78% Shell 1.22%
homeassistant home-assistant home-assistant-component home-assistant-custom homeassistant-integration

ha-slack-user's Introduction

ha-slack-user's People

Contributors

georgesg avatar hwikene avatar wrt54g avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

ha-slack-user's Issues

Can't retrieve attributes

It may be matter of me not being savvy enough on HA, but I'm trying to get the huddle_state of the entity I'm pulling, to no avail:

From documentation, given the sensor sensor.slack_g, there is an attribute called huddle_state.

I've set up a template sensor as follows:

sensor:
  - platform: template
    sensors:
        slack_huddle:
             value_template: "{{ states_attr('sensor.slack_g', 'huddle_state') }}"

But it's showing a permanent "Unavailable.
The same happens with other attributes.

Allow set DND and away

Hi, thanks for the component. It's very very useful!!

I would like to propose a feature. It would be nice if the component will allow setting

  • the DND feature (to stop notification)
  • the presence (set to auto or away)

Thanks

Increase Pulling Frequency?

I use this plugin to monitor if I am in a huddle to unmute my mic (controlling my mixer with a relay "foot" switch).

Currently, the huddle attribute is a bit delayed which works excellent for muting the mic after a huddle but not so much when I started a huddle.

Not sure if there is a way to make the huddle state report more "real-time"?

Allow to set user

Hi, thanks for the component.
I would like to propose a feature. It would be nice if the component will allow setting a custom user status (status message + emoji and optionally expiration).

Huddle attributes

Thanks for the integration!

By the looks of it here the API should be exposing a couple of properties pertaining to huddles, including huddle_state. Any chance we could expose them to HA?

State: Unavailable

Hey guys! I've just added this integration and finished the process, but the entity will remain as unavailable, no matter what i try. Maybe i'm missing something.

What I did was:

  1. Installed integration via HACS and restarted HA.
  2. Created the app in slack apps (within my workspace)
  3. Copied the token
  4. Added the integration and created it with my userID and token

Then the 'sensor.sensor_name' was created and it remains unavailable, but at least it shows my slack profile avatar.

image

Thank you!

[Feature request] Getting status expiration

When setting a status, I would like to restore a maybe existing current status. For that I save the status text and emoji inside a helper.
If you could add the current expiration datetime to the user sensor, I could also save and restore the expiration.

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.