Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State: Unavailable #5

Open
tripo23 opened this issue Feb 14, 2022 · 3 comments
Open

State: Unavailable #5

tripo23 opened this issue Feb 14, 2022 · 3 comments

Comments

@tripo23
Copy link

tripo23 commented Feb 14, 2022

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!

@Ryan-PDX
Copy link

Ryan-PDX commented May 6, 2022

I had the same behavior until configuring the correct User Token Scopes.

CleanShot 2022-05-06 at 14 57 04

@tripo23
Copy link
Author

tripo23 commented May 9, 2022

Not working for me 😢. I have the same scopes configured, but still unavailable. I'm wondering if maybe I'm using the wrong token..

This are my scopes:
image

And this is where I get the token from:

image

@MrFinchMkV
Copy link

MrFinchMkV commented Nov 17, 2023

@tripo23 under https://api.slack.com/apps/**********/oauth there are two tokens one called 'Bot User OAuth Token' as in your screenshot and one called 'User OAuth Token'.
You need the second one.
As soon as I reconfigured the integration with the 'User OAuth Token' I got all states :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants