KoljaWindeler / ytube_music_player

YouTube music player for homeassistant
334 stars 53 forks source link

Error in log for input_select #149

Open jes1417 opened 2 years ago

jes1417 commented 2 years ago

Enable DEBUG Output Please see: https://github.com/KoljaWindeler/ytube_music_player/#debug-information

Describe the bug A clear and concise description of what the bug is, ideally a homeassistant log with debug enabled

An error has been popping up on restarts with the last couple of releases,

Logger: homeassistant.components.input_select
Source: components/input_select/__init__.py:307
Integration: Input select (documentation, issues)
First occurred: 11:57:24 AM (2 occurrences)
Last logged: 11:57:28 AM

Current option: loading no longer valid (possible options: Downstairs, youtube_music, Living Room Android TV, Master Bedroom Hub, Google TV, Downstairs Bath speaker, DIRECTV DVR, Master Bath Speaker, Onkyo Reciever, Kitchen Hub, Onkyo Reciever Zone 2, Home group, Upstairs, Master Bedroom, Hallway Speaker, Master Bedroom Cast, Living Room Cast, Boys Room Android TV, Onkyo Amp Speaker, Jovys Speaker, Kids Bath Speaker, Garage Speaker, Master AT&T, Boys Room speaker)
Current option: loading no longer valid (possible options: Chill Electronic and Dance, Daft Punk: Unmasked, Family List, G&D Album Mixes, I Love You (Cosmic Gate Remix) Mix, New tracks + dubstep, Project Fi - Holiday Playlist, servers, Sublime, Toadies, Your Likes)

Version please provide the version you are using (see HACS) 20210818.01

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Additional context Add any other context about the problem here.

Everything works with the input selects otherwise but I guess HA doesnt like the "Loading" option anymore. Thanks

SkywiperSolutions commented 2 years ago

I have the same :-( Thanks for all the work so far!

KoljaWindeler commented 2 years ago

yep, I see it as well .. do be honest .. I don't understand what it means and how to prevent it .. also it doesn't seem to harm .. any ideas?

CeeWeasel commented 2 years ago

I assume that when the input_select initializes at boot, ytube_music hasn't generated the list of playlists. Since no list is available, the input_select can't pre-select the previous option and throws the message