jekalmin / extended_openai_conversation

Home Assistant custom component of conversation agent. It uses OpenAI to control your devices.
834 stars 108 forks source link

Fix example YouTube scripts #184

Closed teekennedy closed 3 months ago

teekennedy commented 3 months ago

Hi,

Thanks for creating this quality integration! I've been having a lot of fun using it.

I followed the YouTube example to play on my Apple TV and ran into an error from an indentation typo in the script yaml.

I also noticed that the youtube urls were being double quoted in the execution trace of the script (though this did not result in an error):

media_content_id: '"youtube://www.youtube.com/playlist?list=WL"'

This PR fixes both of those issues.

jekalmin commented 3 months ago

Thanks for your contribution!

I just realized that it has an error! It will be released in the next version (1.0.4)

Thanks :D

jekalmin commented 3 months ago

I made a mistake that it's merged into main branch. I force pushed main branch to get rid of it, and applied it to v1.0.4 branch instead.