Skip to content

Instantly share code, notes, and snippets.

@Didgeridrew
Didgeridrew / alexa_command_tts_console.yaml
Last active October 21, 2024 02:02
Home Assistant Alexa Command Console and TTS Card
# This is a variation of Alexa Media Player - Broadcasting with a custom card (https://github.com/custom-components/alexa_media_player/wiki/Examples:-Broadcasting-with-a-custom-card)
### PRE-REQUISITES -------------------------
# You will need to install the following integrations and add-ons:
# - Alexa Media Player (https://github.com/custom-components/alexa_media_player)
# - Text-input-row card *(only needed for the example card)
# https://github.com/gadgetchnnel/lovelace-text-input-row
#
# You will need to create the following helpers:
# - input_select.alexa_state
@aurman
aurman / on-off-shield-example.groovy
Last active May 27, 2018 07:13
Device Handler Code for On/Off Shield (example)
/*
* On/Off Shield (example)
*
* Author: urman
* Date: 2013-03-14
* Revision: 2014-07-10
* Capabilities:
* Switch
* Custom Attributes:
* greeting