Skip to content

Tracking the streamer's current role. #111

@mitrokun

Description

@mitrokun

I looked at another integration built by a community member. It has a sensor with Solo, Master, and Slave values.
I don't think we need an external sensor, but it would be nice to have this value in your library and pass it to the media player attribute in HA. The previous integration had a similar feature, but it split the data across two attributes.
There’s a method that uses three value from getStatusEx to determine the role. I think that's a good solution.
In my scripts, I’m currently combining multiple attributes in different ways to achieve this goal. I’d love to simplify that process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions