hass-core/homeassistant/components/notify/services.yaml
Jan Bouwhuis 84308c9e53
Add title feature to notify entity platform (#116426)
* Add title feature to notify entity platform

* Add overload variants

* Remove overloads, update signatures

* Improve test coverage

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Do not use const

* fix typo

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-05-03 11:17:28 +02:00

54 lines
1 KiB
YAML

# Describes the format for available notification services
notify:
fields:
message:
required: true
example: The garage door has been open for 10 minutes.
selector:
text:
title:
example: "Your Garage Door Friend"
selector:
text:
target:
example: platform specific
selector:
object:
data:
example: platform specific
selector:
object:
send_message:
target:
entity:
domain: notify
fields:
message:
required: true
selector:
text:
title:
required: false
selector:
text:
filter:
supported_features:
- notify.NotifyEntityFeature.TITLE
persistent_notification:
fields:
message:
required: true
example: The garage door has been open for 10 minutes.
selector:
text:
title:
example: "Your Garage Door Friend"
selector:
text:
data:
example: platform specific
selector:
object: