mirror of
https://github.com/home-assistant/core.git
synced 2026-08-11 16:11:49 +02:00
50 lines
1.1 KiB
JSON
50 lines
1.1 KiB
JSON
{
|
|
"device_automation": {
|
|
"action_type": {
|
|
"press": "Press {entity_name} button"
|
|
},
|
|
"trigger_type": {
|
|
"pressed": "{entity_name} has been pressed"
|
|
}
|
|
},
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::button::title%]"
|
|
},
|
|
"identify": {
|
|
"name": "Identify"
|
|
},
|
|
"restart": {
|
|
"name": "[%key:common::action::restart%]"
|
|
},
|
|
"update": {
|
|
"name": "Update"
|
|
}
|
|
},
|
|
"services": {
|
|
"press": {
|
|
"description": "Presses a button.",
|
|
"name": "Press button"
|
|
}
|
|
},
|
|
"title": "Button",
|
|
"triggers": {
|
|
"double_pressed": {
|
|
"description": "Triggers when one or more buttons are pressed twice in quick succession.",
|
|
"name": "Button double pressed"
|
|
},
|
|
"hold_ended": {
|
|
"description": "Triggers when one or more buttons stop being held.",
|
|
"name": "Button hold ended"
|
|
},
|
|
"hold_started": {
|
|
"description": "Triggers when one or more buttons start being held.",
|
|
"name": "Button hold started"
|
|
},
|
|
"pressed": {
|
|
"description": "Triggers when one or more buttons are pressed.",
|
|
"name": "Button pressed"
|
|
}
|
|
}
|
|
}
|