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

ESPHome tag_scanned events #6

Closed
jesserockz opened this issue Sep 17, 2020 · 0 comments · Fixed by #7
Closed

ESPHome tag_scanned events #6

jesserockz opened this issue Sep 17, 2020 · 0 comments · Fixed by #7

Comments

@jesserockz
Copy link
Collaborator

From 0.115.0 the Home Assistant ESPHome integration supports sending to the tag component directly.

home-assistant/core#40128
home-assistant/core#40130
home-assistant/core#40132

This will also be released as an action in ESPHome in a future release:

esphome/esphome#1281

pn532:
  ...
  on_tag:
    then:
      - homeassistant.tag_scanned: !lambda 'return x;'

Before that is released though in ESPHome, you can use:

pn532:
  ...
  on_tag:
    then:
      - homeassistant.event:
          event: esphome.tag_scanned
          data:
            tag_id: !lambda 'return x;'
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 a pull request may close this issue.

1 participant