Skip to content

Shadow

Shadow

esp32_arduino esp32_esp_idf

Allows you to run a script in a parallel thread (Task)

Configuration

external_components:
  - source:
      type: git
      url: https://github.com/andrewjswan/esphome-components
      ref: main
    components: [shadow]
    refresh: 60s

script:
  - id: some_script
    then:
      - logger.log: "Script Running..."

shadow:
  id: esp_shadow
  script_id: some_script
  interval: 60