Radioh / ha_twitch_helix

Home Assistant custom component to integrate with Twitch helix api.
MIT License
21 stars 2 forks source link

Streamer status Unknown #16

Closed SchnitzelPommes closed 2 years ago

SchnitzelPommes commented 2 years ago

Hello, I set up this twitch integration added some streamers to my configuration it got the pictures of the streamer and as attribute it shows the channel views but the state of every channel is unknown no matter if they are streaming or not. Did I do something wrong?

Thank you

Radioh commented 2 years ago

Hi,

It sounds like you have enabled the "stream" API opt out, which will make the component not request the stream data. Remove the "stream" api out out from your config, restart the home assistant and it should update the stream data. :)

So if you just uncomment in your config like so, then all the API's will be enabled:

    api_opt_outs:
      # - subscription_user
      # - follow_user
      # - follow_total
      # - stream
SchnitzelPommes commented 2 years ago

Oh well yeah it works I understood the function the wrong way my bad.

Thank you for your work and your help