Skip to content

Instantly share code, notes, and snippets.

Avatar
🏠
Working from home

James Chaloupka SirGoodenough

🏠
Working from home
View GitHub Profile
@SirGoodenough
SirGoodenough / Broadlink_ON_script.yaml
Last active Sep 15, 2021
Script Blueprint to turn my TV on and put it into the correct mode for the Input Device I want.
View Broadlink_ON_script.yaml
@SirGoodenough
SirGoodenough / tts_google_translate_say_message_script.yaml
Last active Sep 3, 2021
HA Blueprint Script for a google-translate-say message. Home Assistant
View tts_google_translate_say_message_script.yaml
blueprint:
name: TTS Google Translate Say Message_2021-08-26
description: A script that uses tts google_translate_say to send a message to a google speaker
# Community link for blueprint: https://community.home-assistant.io/t/script-blueprint-for-google-translate-say-and-tts-cloud-say-message-not-an-automation-blueprint/333199
source_url: https://gist.github.com/SirGoodenough/ecf747f3bc399f088a13853cf80ec12b
domain: script
input:
speaker_target:
name: Device(s) to speak thru
description: This uses google_translate to send a text message
@SirGoodenough
SirGoodenough / tts_cloud_message_script.yaml
Last active Sep 25, 2021
HA Blueprint Script for a Nabu-Casa tts-cloud-say message. Home Assistant
View tts_cloud_message_script.yaml
blueprint:
name: TTS Cloud Message_2021-08-26
description: A script that uses tts-cloud via Nabu-Casa to send a message to a google speaker
# Community link for blueprint: https://community.home-assistant.io/t/script-blueprint-for-google-translate-say-and-tts-cloud-say-message-not-an-automation-blueprint/333199
source_url: https://gist.github.com/SirGoodenough/7eea35ad75daf883a7938c0bc99499bd
domain: script
input:
speaker_target:
name: Device(s) to speak thru
description: This uses tts-cloud and will only work when using Nabu-Casa
@SirGoodenough
SirGoodenough / AutoFanControl.yaml
Last active Sep 3, 2021
This HA Blueprint Automation will control a 3 speed MQTT fan such as an IFANxx running Tasmota. Fan speed is changed using Home Assistant based on a temperature sensor reading and your inputs.
View AutoFanControl.yaml
blueprint:
name: Auto_Fan_Temperature_Control_for_3-Speed_Fan_2021-09-03
description: This sets the fan speed for a 3 speed fan (such as an IFAN03/IFAN04) based on a room temperature.
# Community link for blueprint: source_url: https://community.home-assistant.io/t/auto-fan-temperature-control-for-3-speed-fan-ifanxx-tasmota/326419
source_url: https://gist.github.com/SirGoodenough/15003002fc5409f029f38914876fa728
domain: automation
input:
fan_control:
name: Toggle to turn the fan function off for when away or seasonally
description: input_boolean - If this is off, the Automation will be disabled.
@SirGoodenough
SirGoodenough / keypad_5_button_cipher_to_turn_on_something.yaml
Last active Sep 3, 2021
HA Blueprint Automation for a Keypad cypher code for 5 button presses before you turn on an input_boolean. Home Assistant.
View keypad_5_button_cipher_to_turn_on_something.yaml
blueprint:
name: Keypad 5 button cypher to turn on something_2021-09-03
description: This will accept any 5 button presses or binary sensor detections and use them to preform an action. RE open a lock, or whatever.
# Community link for blueprint: source_url: https://community.home-assistant.io/t/keypad-cipher-code-for-5-button-presses-before-you-turn-on-an-input-boolean/322385
source_url: https://gist.github.com/SirGoodenough/fbd552e2c93ebaa5c9b3d2b4ebff3297
domain: automation
input:
button_one:
name: Button Press One
description: Binary Sensor for First Button Pressed
@SirGoodenough
SirGoodenough / door_open_tts_cloud_say_announcer_nabu_casa_required.yaml
Last active Sep 3, 2021
HA Blueprint Automation for a TTS.cloud-say version of another Door Announcer. This blueprint is set up to watch a binary sensor. When it goes from off to on (closed to open) it triggers a message to be sent to the google enabled speaker of your choice. The message will play after a delay you set and repeat on that same delay. Home assistant.
View door_open_tts_cloud_say_announcer_nabu_casa_required.yaml
blueprint:
name: Door open tts.cloud_say announcer (Nabu-Casa required) 2021-09-03
description: This uses tts.cloud_say from Nabu-Casa to tell you a door is open too long and a door has been closed.
# Community link for blueprint: source_url: https://community.home-assistant.io/t/door-open-tts-cloud-say-announcer-nabu-casa-required/316046
source_url: https://gist.github.com/SirGoodenough/ed99bd75a65088f4a41c46d1ce19f103
domain: automation
input:
door_entity:
name: Door Sensor
description: Entity that causes announcement