webostv is now separate platform like
media_player platform and it contains
media_player.py file in it, I don’t know how to override the original one, with my own.
Example: if I look up the hue component, and it is provided by a custom component, then all platform lookups will also be looked up in the custom component dir. The same works the other way around, if a user would only try to override
hue/__init__.py, the custom platform will be ignored.
What should I do?
Should I create new folder in
media_player and put
webostv.py in it or I should create folder
webostv and put
media_player.py in it?
Also I want to preserve the current code for media_player, so if it is changed in future I don’t get errors and things broken (just for webostv component, because I have other things that are using the original media_player). Should I put the media_player code in