Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.17 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.17 KB

esphome_badge Build GitHub StandWithUkraine

ESPHome Components

External components for ESPHome

Shadow

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

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

ota:
  - platform: esphome
    on_begin:
      then:
        - lambda: |-
            id(esp_shadow)->stop();