-
-
Save ignacio82/d0271f98a14f28a60b9149a7594d2acf to your computer and use it in GitHub Desktop.
Send a greetings TTS message using tts.google_say service after opening the door, considering who arrived in the configured minutes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: TTS on door opening with persons at home | |
| description: Sends notification on low battery for DW2-Wifi | |
| domain: automation | |
| input: | |
| door_sensors: | |
| name: Door sensors | |
| selector: | |
| entity: | |
| domain: binary_sensor | |
| device_class: door | |
| persons: | |
| name: Persons | |
| selector: | |
| entity: | |
| domain: person | |
| minutes: | |
| name: Minutes | |
| description: Minutes between person at home and door trigged | |
| default: '12:00:00' | |
| selector: | |
| time: {} | |
| message-single: | |
| name: Message single person | |
| description: > | |
| Message to salute single person. | |
| Use <person> tag to be replaced by person name. | |
| selector: | |
| text: {} | |
| message-multiple: | |
| name: Message multiple persons | |
| description: > | |
| Message multiple persons. | |
| Use <persons> tag to be replaced by person name. | |
| selector: | |
| text: {} | |
| persons-concat: | |
| name: Text to concatenate the persons name | |
| description: String to be used as concatenate between names | |
| default: and | |
| selector: | |
| text: | |
| target: | |
| name: Target devices | |
| description: Target devices to play the TTS message | |
| selector: | |
| target: | |
| entity: | |
| domain: media_player | |
| trigger: | |
| - platform: state | |
| entity_id: !input 'door_sensors' | |
| to: 'on' | |
| action: | |
| - choose: [] | |
| mode: single |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment