hunterjm / hassio-addons

Control your Xbox One from your Home Assistant device.
MIT License
55 stars 50 forks source link

State is always unknown when on #11

Closed Newlance closed 5 years ago

Newlance commented 5 years ago

It looks like STATE_ON was never implemented in your xbone.py, was this intentional? theoretically the state will change when media is playing, but I'm really tempted to change almost all the instances of STATE_UNKNOWN with STATE_ON

tuxuser commented 5 years ago

Please refer to PR #6 for the discussion about STATES

hunterjm commented 5 years ago

I just merged some changes into the develop branch that addresses this. You can test that component out.

martimarkov commented 5 years ago

@hunterjm Hey, I'm having the same issue on version 1.1.0. There are 2 Xbox at my house. One of them is offline and not connected/paired to my account.