Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95437

Add button to dashboard

$
0
0

@flippaz wrote:

Hello. Fairly new to Home Assistant. I am trying to add a simple button to the dashboard so when I click on it, a TTS message is sent over to my Google home. I have tried using the input_boolean but it doesn’t seem to work with the automation script:

configuration.yaml

input_boolean:
  dad_busy_status:
    name: Dad Busy Status
    icon: mdi:human-male

automations.yaml

- alias: Dad is in a meeting
  trigger:
  - entity_id: input_boolean.dad_busy_status
    platform: state
    to: 'on'
  action:
  - data:
      message: Dad is in a meeting.
    service: tts.google_translate_say

Any help is much appreciated!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95437

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>