RogerSelwyn / Home_Assistant_SkyQ_MediaPlayer

Home Assistant SkyQ Media player component
MIT License
103 stars 17 forks source link

After the last HA upgrade core_2021.11.5 error on install The configuration flow cannot be loaded[BUG] #79

Closed giugit closed 2 years ago

giugit commented 2 years ago

Describe the bug

I use a custom SkyQ integration that has stop to work with error

Platform error media_player.skyq - cannot import name ‘HTTP_OK’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)


I tried to install this component but i have this error on install The configuration flow cannot be loaded

Thanks

A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. What were you doing/watching at the time ?
  2. What channel were you on?
  3. What time did the problem occur?
  4. Where are you (bear in mind component supports GBR/ITA at the moment)?

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Component versions

  1. What version of SkyQ component are you using?
  2. What was the last version where the problem was not shown?

Your configuration
How have you setup your devices, by UI or YAML?

Your configuration from the options dialogue
or
Your configuration.yaml

media_player:
 - platform:  skyq
   name: SkyQ Living Room
   host: 192.168.0.10
   live_tv: True
   country: "UK"
   sources:
      SkyOne: '1,0,6'
      SkyNews: '5,0,1'

Output of HA logs
Paste the relavant output of the HA log here.

Additional context
Add any other context about the problem here.

RogerSelwyn commented 2 years ago

What version of the SkyQ integration are you using?

giugit commented 2 years ago

I use this https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer

RogerSelwyn commented 2 years ago

Yes. I have released 69 versions of the integration. Which version are you using? If you have installed via HACS it will tell you. Or look in manifest.json in your SkyQ install directory.

giugit commented 2 years ago

{ "domain": "skyq", "name": "Sky Q", "documentation": "https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer", "issue_tracker": "https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/issues", "codeowners": [ "@rogerselwyn" ], "requirements": [ "pyskyqremote==0.2.40", "pycountry>=20.7.3" ], "quality_scale": "silver", "config_flow": true, "version": "2.6.1", "iot_class": "local_polling" }

RogerSelwyn commented 2 years ago

From this you can see you are on 2.6.1. Please upgrade to the latest version, currently 2.7.5

giugit commented 2 years ago

I have to remove skyq from custom components and add all is on Home_Assistant_SkyQ_MediaPlayer-master or only the skyq folder?

RogerSelwyn commented 2 years ago

Just repeat what you did for your first install. The easiest way to maintain is to use HACS - https://hacs.xyz/ , and then add my repository as a custom repository. If you don’t want to do that, download SkyQ.zip from here - https://github.com/RogerSelwyn/Home_Assistant_SkyQ_MediaPlayer/releases/tag/v2.7.5

HACS will tell you when there is a new version and allows you to click up button to update it.

giugit commented 2 years ago

I add via HACS but when i try to reboot i have this error Platform error media_player.skyq - Integration 'skyq' not found. SKYINT

and there is no skyq folder in custom_components

RogerSelwyn commented 2 years ago

Having added it as a repository, you then need to install it via the Integration pages of HACS. It is just telling you that you have SkyQ in your configuration, but it can’t find it in the directory structure.

giugit commented 2 years ago

Yeahhhhh!! It works Now!!! Thanks for your fantastic integration Very Very Thanks!!! GIULIO

IMG_1170

RogerSelwyn commented 2 years ago

I think media browser is broken at the moment but should fix that in next couple of days, so keep an eye out for a new version.

giugit commented 2 years ago

I don't know what do you mean with media browser I can change channels without problems and i can also open a window with all the channel listed with pictures if this you mean!

RogerSelwyn commented 2 years ago

Excellent, good news