Onkyo mediaplayer: When you select the source, it will keep switching

Onkyo mediaplayer: When you select the source, it will keep switching
Home Assistant
0.65.4
Custom UI 20180216
0.63.2 is ok.

I got exactly same problem! Had Homeassistant from PIP. Now pulled from latest github and it still happens on my LG WebOS TV.

I was looking into it. No error in console. It just keeps switching when this dialog window open. I think it must be something on frontend UI side with the select component itself.

This repeats in console together with change state event:
DEBUG (SyncWorker_1) [asyncio] Using selector: SelectSelector

Found the solution here: Input Select bug? HA mixes up values at startup

It is definitely Home Assistant bug with some cache or something.

Solution was to remove whole TV section from configuration.yaml:

media_player:
  - platform: webostv

Then start HA without this section and let it reload the stuff. Then exit and put back this section, start again and UI does not mess up.