bertbert72 / HomeAssistant_VirginTivo

HomeAssistant component for control of Virgin Media Tivo boxes
GNU General Public License v3.0
27 stars 22 forks source link

Test _channel_id for None #71

Closed ColinRobbins closed 3 years ago

ColinRobbins commented 3 years ago

See Issue 70

bertbert72 commented 3 years ago

I think both these issues have the same root cause. If self._channel_id is blank we've more problems than just that. Can you try the version here and let me know if it works for you? If so, I'll need to tidy up a bit since it's a bit hacky (not that that ever stopped me before).

https://raw.githubusercontent.com/bertbert72/HomeAssistant_VirginTivo/fix-cache-problem/custom_components/virgintivo/media_player.py