Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"homeassistant.action","name":"Homeassistant → Action","description":"> [!NOTE] > Be sure to [follow the instructions above](https://esphome.io/components/api#actions) to tell Home Assistant to allow > your device to perform actions.","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"action","type":"string","label":"Action","description":"**Required — set exactly one of:** `service`, `action`.\n\nThe Home Assistant [Action](https://www.home-assistant.io/docs/scripts/service-calls/) to perform.","display_format":null,"templatable":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"service","type":"string","label":"Service","display_format":null,"templatable":true,"description":"**Required — set exactly one of:** `service`, `action`."},{"key":"capture_response","type":"boolean","label":"Capture Response","description":"Enable capturing the response from the Home Assistant action call. When enabled, `on_success` must be configured. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"nested","label":"Data","description":"Optional *static* data to perform the action with.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"nested","label":"Data Template","description":"Optional template data to perform the action with. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"response_template","type":"string","label":"Response Template","description":"Optional Jinja template to process the action response data. This template is evaluated on the Home Assistant side with Home Assistant's templating engine. Requires `capture_response: true`.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"variables","type":"nested","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":["on_error","on_success"],"scalar_shorthand_key":null,"required_groups":[{"kind":"exactly_one","keys":["service","action"]}]}
{"id":"homeassistant.action","name":"Homeassistant → Action","description":"> [!NOTE] > Be sure to [follow the instructions above](https://esphome.io/components/api#actions) to tell Home Assistant to allow > your device to perform actions.","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"action","type":"string","label":"Action","description":"**Required — set exactly one of:** `service`, `action`.\n\nThe Home Assistant [Action](https://www.home-assistant.io/docs/scripts/service-calls/) to perform.","display_format":null,"templatable":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"service","type":"string","label":"Service","display_format":null,"templatable":true,"description":"**Required — set exactly one of:** `service`, `action`."},{"key":"capture_response","type":"boolean","label":"Capture Response","description":"Enable capturing the response from the Home Assistant action call. When enabled, `on_success` must be configured. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"map","label":"Data","description":"Optional *static* data to perform the action with.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"map","label":"Data Template","description":"Optional template data to perform the action with. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"response_template","type":"string","label":"Response Template","description":"Optional Jinja template to process the action response data. This template is evaluated on the Home Assistant side with Home Assistant's templating engine. Requires `capture_response: true`.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"variables","type":"map","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":["on_error","on_success"],"scalar_shorthand_key":null,"required_groups":[{"kind":"exactly_one","keys":["service","action"]}]}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"homeassistant.event","name":"Homeassistant → Event","description":"> [!NOTE] > Be sure to [follow the instructions above](https://esphome.io/components/api#actions) to tell Home Assistant to allow > your device to perform actions.","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"event","type":"string","label":"Event","description":"The event to create - must begin with `esphome.`","required":true,"display_format":null,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"nested","label":"Data","description":"Optional *static* data to pass along with the event.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"nested","label":"Data Template","description":"Optional template data to pass along with the event. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"variables","type":"nested","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":[],"scalar_shorthand_key":null}
{"id":"homeassistant.event","name":"Homeassistant → Event","description":"> [!NOTE] > Be sure to [follow the instructions above](https://esphome.io/components/api#actions) to tell Home Assistant to allow > your device to perform actions.","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"event","type":"string","label":"Event","description":"The event to create - must begin with `esphome.`","required":true,"display_format":null,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"map","label":"Data","description":"Optional *static* data to pass along with the event.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"map","label":"Data Template","description":"Optional template data to pass along with the event. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"variables","type":"map","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":[],"scalar_shorthand_key":null}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"id":"homeassistant.service","name":"Homeassistant → Service","description":"","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"action","type":"string","label":"Action","description":"**Required — set exactly one of:** `service`, `action`.\n\nThe Home Assistant [Action](https://www.home-assistant.io/docs/scripts/service-calls/) to perform.","display_format":null,"templatable":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"service","type":"string","label":"Service","display_format":null,"templatable":true,"description":"**Required — set exactly one of:** `service`, `action`."},{"key":"capture_response","type":"boolean","label":"Capture Response","description":"Enable capturing the response from the Home Assistant action call. When enabled, `on_success` must be configured. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"nested","label":"Data","description":"Optional *static* data to perform the action with.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"nested","label":"Data Template","description":"Optional template data to perform the action with. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]},{"key":"response_template","type":"string","label":"Response Template","description":"Optional Jinja template to process the action response data. This template is evaluated on the Home Assistant side with Home Assistant's templating engine. Requires `capture_response: true`.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"variables","type":"nested","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"string","type":"string","label":"String","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":["on_error","on_success"],"scalar_shorthand_key":null,"required_groups":[{"kind":"exactly_one","keys":["service","action"]}]}
{"id":"homeassistant.service","name":"Homeassistant → Service","description":"","docs_url":"https://esphome.io/automations/actions","domain":"homeassistant","config_entries":[{"key":"id","type":"id","label":"ID","display_format":null,"references_component":"api"},{"key":"action","type":"string","label":"Action","description":"**Required — set exactly one of:** `service`, `action`.\n\nThe Home Assistant [Action](https://www.home-assistant.io/docs/scripts/service-calls/) to perform.","display_format":null,"templatable":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"service","type":"string","label":"Service","display_format":null,"templatable":true,"description":"**Required — set exactly one of:** `service`, `action`."},{"key":"capture_response","type":"boolean","label":"Capture Response","description":"Enable capturing the response from the Home Assistant action call. When enabled, `on_success` must be configured. Defaults to `false`.","default_value":false,"display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"data","type":"map","label":"Data","description":"Optional *static* data to perform the action with.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"data_template","type":"map","label":"Data Template","description":"Optional template data to perform the action with. This is evaluated on the Home Assistant side with Home Assistant's templating engine.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]},{"key":"response_template","type":"string","label":"Response Template","description":"Optional Jinja template to process the action response data. This template is evaluated on the Home Assistant side with Home Assistant's templating engine. Requires `capture_response: true`.","display_format":null,"templatable":true,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables"},{"key":"variables","type":"map","label":"Variables","description":"Optional variables that can be used in the `data_template`. A value tagged with `!lambda` is a [lambda](https://esphome.io/automations/templates#config-lambda) evaluated on the device before sending the request; any other value is sent as a static string.","default_value":"{}","display_format":null,"advanced":true,"help_link":"https://esphome.io/components/api#configuration-variables","config_entries":[{"key":"value","type":"string","label":"Value","display_format":null,"templatable":true,"advanced":true}]}],"is_control_flow":false,"has_else_branch":false,"accepts_action_list":["on_error","on_success"],"scalar_shorthand_key":null,"required_groups":[{"kind":"exactly_one","keys":["service","action"]}]}
Loading