mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 14:56:53 +00:00
change uppercase to lowercase. (#3426)
This was applied as a part of https://github.com/home-assistant/home-assistant/pull/9427
This commit is contained in:
parent
111b08281d
commit
60d1125e55
@ -50,7 +50,7 @@ When sending a notification:
|
|||||||
## {% linkable_title Category parameters %}
|
## {% linkable_title Category parameters %}
|
||||||
|
|
||||||
- **name** (*Required*): A friendly name for this category.
|
- **name** (*Required*): A friendly name for this category.
|
||||||
- **identifier** (*Required*): A unique identifier for the category. Must be uppercase and have no special characters or spaces.
|
- **identifier** (*Required*): A unique identifier for the category. Must be lowercase and have no special characters or spaces.
|
||||||
- **action** (*Required*): A list of actions.
|
- **action** (*Required*): A list of actions.
|
||||||
|
|
||||||
## {% linkable_title Action parameters %}
|
## {% linkable_title Action parameters %}
|
||||||
@ -71,7 +71,7 @@ ios:
|
|||||||
push:
|
push:
|
||||||
categories:
|
categories:
|
||||||
- name: Alarm
|
- name: Alarm
|
||||||
identifier: 'ALARM'
|
identifier: 'alarm'
|
||||||
actions:
|
actions:
|
||||||
- identifier: 'SOUND_ALARM'
|
- identifier: 'SOUND_ALARM'
|
||||||
title: 'Sound Alarm'
|
title: 'Sound Alarm'
|
||||||
@ -105,7 +105,7 @@ automation:
|
|||||||
push:
|
push:
|
||||||
badge: 5
|
badge: 5
|
||||||
sound: <SOUND FILE HERE>
|
sound: <SOUND FILE HERE>
|
||||||
category: "ALARM" # Needs to match the top level identifier you used in the ios configuration
|
category: "alarm" # Needs to match the top level identifier you used in the ios configuration
|
||||||
action_data: # Anything passed in action_data will get echoed back to Home Assistant.
|
action_data: # Anything passed in action_data will get echoed back to Home Assistant.
|
||||||
entity_id: light.test
|
entity_id: light.test
|
||||||
my_custom_data: foo_bar
|
my_custom_data: foo_bar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user