mirror of
https://github.com/home-assistant/core.git
synced 2026-08-06 21:35:13 +01:00
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
60 lines
1.3 KiB
JSON
60 lines
1.3 KiB
JSON
{
|
|
"entity_component": {
|
|
"_": {
|
|
"name": "[%key:component::button::title%]",
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"name": "Event type"
|
|
},
|
|
"event_types": {
|
|
"name": "Event types"
|
|
}
|
|
}
|
|
},
|
|
"button": {
|
|
"name": "Button",
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"state": {
|
|
"long_press_end": "Long press end",
|
|
"long_press_start": "Long press start",
|
|
"multi_press_end": "Multi-press end",
|
|
"multi_press_ongoing": "Multi-press ongoing",
|
|
"press_end": "Press end",
|
|
"press_start": "Press start"
|
|
}
|
|
},
|
|
"multi_press_count": {
|
|
"name": "Multi-press count"
|
|
}
|
|
}
|
|
},
|
|
"doorbell": {
|
|
"name": "Doorbell",
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"state": {
|
|
"ring": "Ring"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"motion": {
|
|
"name": "Motion"
|
|
}
|
|
},
|
|
"title": "Event",
|
|
"triggers": {
|
|
"received": {
|
|
"description": "Triggers when one or more event entities receive a matching event.",
|
|
"fields": {
|
|
"event_type": {
|
|
"description": "The event types to trigger on.",
|
|
"name": "Event type"
|
|
}
|
|
},
|
|
"name": "Event received"
|
|
}
|
|
}
|
|
}
|