hass-core/homeassistant/components/google_mail/services.yaml
Robert Hillis ad65fc27bc
Add Google Mail integration ()
* Add Google Mail integration

* oops

* prettier

* Add email service

* adjustments

* update

* move email to notify

* break out services

* tweaks

* Add CC and BCC support

* drop scope check, breakout tests

* use abstract auth

* tweak

* bump dependency

* dependency bump

* remove oauth2client
2023-01-07 11:59:14 -08:00

53 lines
1.2 KiB
YAML

set_vacation:
name: Set Vacation
description: Set vacation responder settings for Google Mail.
target:
device:
integration: google_mail
entity:
integration: google_mail
fields:
enabled:
name: Enabled
required: true
default: true
description: Turn this off to end vacation responses.
selector:
boolean:
title:
name: Title
description: The subject for the email
selector:
text:
message:
name: Message
description: Body of the email
required: true
selector:
text:
plain_text:
name: Plain text
default: true
description: Choose to send message in plain text or HTML.
selector:
boolean:
restrict_contacts:
name: Restrict to Contacts
description: Restrict automatic reply to contacts.
selector:
boolean:
restrict_domain:
name: Restrict to Domain
description: Restrict automatic reply to domain. This only affects GSuite accounts.
selector:
boolean:
start:
name: start
description: First day of the vacation
selector:
date:
end:
name: end
description: Last day of the vacation
selector:
date: