KoljaWindeler / ytube_music_player

YouTube music player for homeassistant
346 stars 53 forks source link

Échec de l'appel du service media_player/turn_on. 'NoneType' object has no attribute 'state' #346

Closed SebastienMrc closed 4 months ago

SebastienMrc commented 6 months ago

Enable DEBUG Output home-assistant_ytube_music_player_2024-05-12T18-06-48.757Z.log

Describe the bug I don’t know why but since a few months I can not use the integration and I have this error message that appears: Échec de l'appel du service media_player/turn_on. 'NoneType' object has no attribute 'state'

Version HACS Version : 1.34.0

To Reproduce Steps to reproduce the behavior:

  1. Go to 'ytube_music_player recording'
  2. Click on 'start'
  3. See error : "Échec de l'appel du service media_player/turn_on. 'NoneType' object has no attribute 'state'"

Thanks

KoljaWindeler commented 6 months ago

hmm the part of '''Exception: Server returned HTTP 401: Unauthorized.''' concerns me. Did it work for you before? I'd recommend to rerun the setup

SebastienMrc commented 4 months ago

Yes, the integration worked correctly about 6 months ago. And now it doesn't work anymore...

KoljaWindeler commented 4 months ago

What version are you running that has this error?

SebastienMrc commented 4 months ago

For "ytube_music_player", I running 20240704.01 version. And for Home Assistant :

Capture d’écran 2024-07-12 à 19 15 45