diff --git a/packages/integrations/esp_home.yaml b/packages/integrations/esp_home.yaml index 4e8056b2..2b69c39d 100644 --- a/packages/integrations/esp_home.yaml +++ b/packages/integrations/esp_home.yaml @@ -103,3 +103,26 @@ script: data: {} target: entity_id: "{{ entity_id }}" + restart_esp: + alias: Restart ESP + sequence: + - service: switch.turn_off + metadata: {} + data: {} + target: + entity_id: + - switch.ashlee_s_bedroom_esp_plug + - switch.bedroom_esp_plug + - switch.leo_s_bedroom_esp_plug + - delay: + seconds: 5 + - service: switch.turn_on + metadata: {} + data: {} + target: + entity_id: + - switch.ashlee_s_bedroom_esp_plug + - switch.bedroom_esp_plug + - switch.leo_s_bedroom_esp_plug + description: "" + icon: mdi:chip