Claude c1838fae62 [api] Add support for ESPHome action responses
This adds the ability for ESPHome-defined actions (services) to send
responses back to Home Assistant. This is the complement to the existing
feature that allows ESPHome to receive responses from HA actions.

New features:
- ExecuteServiceResponse protobuf message (ID 131) for sending responses
- call_id field in ExecuteServiceRequest for tracking service calls
- api.respond action for sending responses from YAML automations
- Support for JSON response data via data: lambda

Example usage:
```yaml
api:
  actions:
    - action: get_sensor_value
      variables:
        sensor_name: string
      then:
        - api.respond:
            data: |-
              root["value"] = id(my_sensor).state;
              root["unit"] = "°C";
```

Note: This requires corresponding changes in aioesphomeapi and
home-assistant/core to handle the new messages.
2025-11-20 22:09:19 +00:00
2023-06-12 17:00:34 +12:00
2022-09-06 15:48:01 +12:00
2024-03-28 10:20:51 +13:00
2025-07-17 22:40:28 +12:00
2025-11-13 17:00:47 +13:00
2025-07-17 22:40:28 +12:00
Description
ESPHome is a system to control your ESP8266/ESP32 by simple yet powerful configuration files and control them remotely through Home Automation systems.
Readme Multiple Licenses 361 MiB
Languages
C++ 64.2%
Python 35.5%
C 0.2%