Skip to content

Disable buzzer electrically #58

Description

@popy2k14

In older versions we where supporting a buzzer as a fallback,
since newer esphome versions, local file playback has matured and working reasonable well.
If you used this feature (a buzzer is connected on your hardware to a pin), with this you can electrically disable it

Here is some things to add to the readme. I would not add this to the code.

# in older versions we where supporting a buzzer as a fallback
# since newer esphome versions, local file playback has matured and working reasonable well.
# If you used this feature (a buzzer is connected on your hardware to this pin), with this you can electrically disable it
# also remove substituion:  buzzer_gain
switch:
  - platform: gpio
    pin: ${buzzer_pin}
    name: "buzzer pin - now unused"
    restore_mode: ALWAYS_OFF
    internal: true   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions