-
Notifications
You must be signed in to change notification settings - Fork 303
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
Switches not created for all devices #361
Comments
I don't think it's related to the Skill. Enable debug logging for alexa_media and provide your logs. Are you using |
I’m not using include, I am using exclude but I’m not excluding the devices I’m missing. I will provide debug logs when I get back to a computer. |
Here is my configuration.yaml
alexa_media: And here is my debug, I don't see anything that stands out, but maybe you will.
|
Thanks. It's looking like we're missing some of the logs. It started loading the switches but I don't see any confirmation that it completed the switch load. Now if this is the end of the logs, there's something else going on. You'll notice that there was a |
Here are the logs for that TF2 device:
|
I also found these logs which may be something, it says they're already loaded but they aren't.
|
Ok, that's a bug. Let me see if I can clean up that race condition. Whenever you restart it has the problem? In theory, it should sometimes have issues, sometimes not. |
One workaround may be to increase the delay from 2 to 5 or something higher in switch.py. This way it gives the media_players more time to load. |
I haven’t noticed them show up in a long time, but I’m still building my system so I restart fairly frequently. |
I changed the delay to 5 and I have switches showing up now. |
I have multiple alexa devices, around a dozen or so. They are all discovered as media players by this plugin, however only 4 of them have the shuffle/repeat and do not disturb switches. All of them used to exist because they flooded my alexa account with newly discovered switches from HA which I have since deleted from Alexa and ignored via the Alexa Smart Home Skill configuration portion of configuration.yaml.
It appears that ignoring a device from the smart home skill will remove that device from HA altogether when I just want Alexa to ignore it. I tried commenting out a particular device from the ignore list, but that didn't seem to make a difference either.
How would I go about getting these devices added back into HA as I would like to set up some automations with the do not disturb switches?
The text was updated successfully, but these errors were encountered: