We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trying to do something like this:
sensor 2:
Would this component be able to do something like this? I need to set a variable to a string from the youtube api, then call it in the curl post.
This allows me to pull the video id of the newest video on a channel then play it directly on my tv.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Trying to do something like this:
sensor 2:
name: get linus videoid
resource: https://www.googleapis.com/youtube/v3/search?key="youtube api key without quotes"&channelId=UCXuqSBlHAE6Xw-yeJA0Tunw&part=snippet,id&order=date&maxResults=1
value_template: '{{value_json.items.id.videoId}}'
switch 2:
switches:
linus_tech_tips:
command_on: "curl -X POST http://10.0.0.171:8060/launch/837?contentID={{states.sensor.get_linus_videoid}}&MediaType=live"
Would this component be able to do something like this? I need to set a variable to a string from the youtube api, then call it in the curl post.
This allows me to pull the video id of the newest video on a channel then play it directly on my tv.
The text was updated successfully, but these errors were encountered: