diff --git a/source/_integrations/tag.markdown b/source/_integrations/tag.markdown index 15d2aa37d6b..f74e3d8d8d1 100644 --- a/source/_integrations/tag.markdown +++ b/source/_integrations/tag.markdown @@ -9,6 +9,8 @@ ha_codeowners: - '@dmulcahey' ha_domain: tag ha_quality_scale: internal +ha_platforms: + - event ha_integration_type: integration --- @@ -39,6 +41,17 @@ Home Assistant has a dedicated panel that allows you to manage your tags. You ca ![Tag user interface in Home Assistant](/images/blog/2020-09-15-home-assistant-tags/tag-ui.gif) +## Entities + +Every card automatically creates an `tag` entity. This is useful for automations or for displaying on dashboards to see when the card was last scanned. + +State shows the time when the card was last scanned in datetime string format. For example, `2013-09-17T07:32:51.095+00:00` + +### Attributes + +- **Tag ID**: identification as set during creation of the tag. +- **Last scanned by device ID**: Which device did scan the tag last time, useful in automations for doing different things depending on which device scanned the tag. + ## Building an RFID jukebox One of the most fun applications of tags is to pick music in your living room. To make this super easy, you can use the below automation: