I’m using Lannouncer for HA text-to-speech to a tablet in the kitchen. It’s easy & really useful, great thing.
I just can’t figure out how to use the Chime sound setting though. I’ve tried all the yaml combos I can think of.
kitchen_lann_general_status_announce:
sequence:
- service: notify.kitchen_lann
data:
message: "The outside temperature is {{ states.sensor.miflora_4_temperature.state }} degrees. Currently there is a {{ states.sensor.dark_sky_precip_probability.state }} percent chance of rain."
Does anyone have a working example I could add onto my sequence above?
It’s a tiny bit startling to have a tablet suddenly talk without a little sound beforehand.
Though sometimes that’s exactly the desired effect
That returns an error for me, does it work for you?
Error loading /config/configuration.yaml: while parsing a block mapping in "/config/scripts.yaml", line 128, column 9 expected <block end>, but found '<block mapping start>' in "/config/scripts.yaml", line 131, column 10
The only combination I’ve tried that doesn’t return an error, doesn’t trigger a chime
and click to check it’s function, it works fine.
But entered in an automation the chime does not sound, only the message is being read. All other actions are correctly done.
alias: Schuur open
description: >-
Laat keukenlamp knipperen en stuurt TTS bericht naar tablet als schuur open
gaat
trigger:
- platform: state
entity_id: remote.sonoff_1000cdcc13
attribute: ts
condition:
- condition: state
entity_id: remote.sonoff_1000cdcc13
state: Deur Schuur
attribute: name
- condition: state
entity_id: light.keuken_tafel
state: 'on'
action:
- service: notify.mobile_app_in2013
data:
message: >-
Someone just entered the shed
- service: notify.mobile_app_mischa_op6t
data:
message: >-
Someone just entered the shed
- service: notify.tablet
data:
message: chime
data:
method: alarm
- service: notify.tablet
data:
message: >-
Someone just entered the shed
- scene: scene.alarm_lampen
- delay: '00:00:01'
- scene: scene.lampen_keuken_tafel_normaal
- delay: '00:00:01'
- scene: scene.alarm_lampen
- delay: '00:00:01'
- scene: scene.lamp_keuken_tafel_normaal
mode: single