From 5536335ac959712d7709c62fe4e52968a4782a6b Mon Sep 17 00:00:00 2001 From: Johannes <29555657+joBr99@users.noreply.github.com> Date: Fri, 29 Mar 2024 21:47:36 +0100 Subject: [PATCH] Update prepare_ha.md --- docs/prepare_ha.md | 34 ---------------------------------- 1 file changed, 34 deletions(-) diff --git a/docs/prepare_ha.md b/docs/prepare_ha.md index 413429eb..a3908031 100644 --- a/docs/prepare_ha.md +++ b/docs/prepare_ha.md @@ -100,39 +100,5 @@ AppDaemon is using the old REST API that until AppDaemon moved on the the websoc To get the forecast data in appdaemon, there is a script needed in homeassistant's script.yaml: ```yaml -call_service_with_response: - description: Calls a service and returns its response to AppDaemon - fields: - call_id: - name: Call id - default: 1 - description: An id to uniquely identify the call - required: True - selector: - text: - service_name: - name: Service name - default: domain.some_service - description: The service to call - required: True - selector: - text: - service_data: - name: Service data - default: {} - description: Data to pass to the service - required: True - selector: - object: - sequence: - - service: "{{ service_name }}" - data: "{{ service_data }}" - response_variable: response - - event: call_service_with_response.finished # event name cannot be templated unfortunately - event_data: - call_id: "{{ call_id }}" - response: "{{ response }}" ``` -![image](https://github.com/joBr99/nspanel-lovelace-ui/assets/29555657/ea646579-1287-491e-a1e8-5989c7c34b39) -