Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Script Blueprint to turn my TV on and put it into the correct mode for the Input Device I want.
@SirGoodenough

This comment has been minimized.

Copy link
Owner Author

@SirGoodenough SirGoodenough commented Sep 14, 2021

This is a SCRIPT Blueprint that uses my Broadlink RM3 to turn my TV on and get it into the correct mode, IE: antenna, FireTV, Chromecast, etc. The defaults are specific to me and you should change them to match your situation.

⬇️ Get Started

Updates will be published on my GIST repository with the rest of my Home Assistant Blueprint collection.

Option 1: My Home Assistant

Click the badge to import this Blueprint

Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.

Option 2: Direct Link

Copy this link if you want to import the blueprint in your installation.
https://gist.github.com/SirGoodenough/d530280dc4177aa2882bc3e7924982d5

📄 Description

You can import the script blueprint via the button above or manually as below.
To import this Blueprint:

• Open Home Assistant with administrator privileges and on a Lovelace screen, click anywhere in the main entity area and type the letter ‘c’. A selection box should pop up. Type blue and select the button to navigate to blueprints. You can also find blueprints by selecting configuration from the left menu and then blueprints from the center menu.
• Once there, click on the ‘Import Blueprint’ button in the lower right side of the main screen.
• In the ‘URL of the blueprint’ line type or paste in the URL of my Blueprint. I have the blueprint stored on my Public GIST on GitHub:
https://gist.github.com/SirGoodenough/d530280dc4177aa2882bc3e7924982d5

This is my version and has defaults specific to my system that will need to be changed for your system, Also if an !input has a default, the calling script is not required to include input data for that !input, but if you want to change the input values without editing the blueprint defaults, then add more selectors to overwrite with your desired values.

Changelog

  • 2021-09-14: First blueprint version 🎉
  • 2021-11-20: Changes because of release of Blueprint Script UI
    • Add Minimum Home Assistant 2021-11-0

All My Blueprints

Contact Links or see my other work:

What are we Fixing Today Homepage / Website: https://www.WhatAreWeFixing.Today/
Channel Link URL: (WhatAreWeFixingToday) https://bit.ly/WhatAreWeFixingTodaysYT
What are we Fixing Today Facebook page (Sir GoodEnough): https://bit.ly/WhatAreWeFixingTodayFB
What are we Fixing Today Twitter Account (Sir GoodEnough): https://bit.ly/WhatAreWeFixingTodayTW
Discord Guild: (Sir_Goodenough#9683) https://discord.gg/Uhmhu3B

If you want to support me:

Buy me Coffee: https://www.buymeacoffee.com/SirGoodenough
PayPal one-off donation link: https://www.paypal.me/SirGoodenough
Cash App $CASHTAG: https://cash.me/$SirGoodenough
Venmo cash link: https://venmo.com/SirGoodenough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment