Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smart plug: add ID for power button #27

Merged
merged 1 commit into from
Sep 25, 2024
Merged

Conversation

tari
Copy link
Contributor

@tari tari commented Sep 22, 2024

Setting an ID for the power button allows its behavior to be extended or modified by configuration that uses this package, for example:

packages:
  Athom_Technology.Smart_Plug_V2: github://athom-tech/athom-configs/athom-smart-plug-v2.yaml

binary_sensor:
  - id: !extend power_button # Additional settings here

Setting an ID for the power button allows its behavior to be extended or
modified by configuration that uses this package, for example:

    packages:
      Athom_Technology.Smart_Plug_V2: github://athom-tech/athom-configs/athom-smart-plug-v2.yaml

    binary_sensor:
      - id: !extend power_button
        # Additional settings here
@tarontop tarontop merged commit b5dcb27 into athom-tech:main Sep 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants