Skip to content

2024.5.1

Compare
Choose a tag to compare
@heythisisnate heythisisnate released this 04 May 13:37
· 19 commits to master since this release

Simplifieswarning-beep.yaml package

This fixes issues with the last release, which attempted to template-itize the warning-beep.yaml package so that it can be included multiple times (to create more than one pulsing/beeping/blinking binary output). The first attempt didn't completely work, because I didn't realize that template vars can't be passed to remote packages.

This change simplifies the usage so that the warning-beep.yaml package can be used via a remote package, or for more advanced usage, included locally with template variables. This allows it to work in multiple products and configurations. For example:

Simple (default) usage - single warning beep

substitutions:
  warning_beep_name: Warning Beep
  warning_beep_pulse_time: 100ms
  warning_beep_pause_time: 130ms

packages:
  remote_package:
    url: https://github.com/konnected-io/konnected-esphome
    ref: master
    files:
      - packages/warning-beep.yaml

Advanced usage - multiple beep/blink/pulse outputs

packages:
  warning_beep_1: !include
    file: packages/warning-beep.yaml
    vars:
      warning_beep_index: '1'
      warning_beep_name: Pulse 1
      warning_beep_pulse_time: 100ms
      warning_beep_pause_time: 130ms

  warning_beep_2: !include
    file: packages/warning-beep.yaml
    vars:
      warning_beep_index: '2'
      warning_beep_name: Pulse 2
      warning_beep_pulse_time: 500ms
      warning_beep_pause_time: 1s

Project versions updated

  • alarm-panel-esp8266: 1.1.1
  • alarm-panel-pro-ethernet: 1.1.1
  • alarm-panel-pro-wifi: 1.1.1
  • garage-door-gdov1-s: 1.2.1
  • garage-door-gdov2-s: 1.2.1
  • garage-door-gdov2-q: 1.0.1

Full Changelog: 2024.5.0...2024.5.1