KoljaWindeler / ytube_music_player

YouTube music player for homeassistant
325 stars 51 forks source link

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

Closed SebastienMrc closed 10 hours ago

SebastienMrc commented 1 month 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 1 month 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