mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Mark tag to be an entity component (#123200)
This commit is contained in:
parent
f51cc8fe12
commit
9c2ba9b157
@ -364,7 +364,6 @@ class TagEntity(Entity):
|
||||
"""Representation of a Tag entity."""
|
||||
|
||||
_unrecorded_attributes = frozenset({TAG_ID})
|
||||
_attr_translation_key = DOMAIN
|
||||
_attr_should_poll = False
|
||||
|
||||
def __init__(
|
||||
|
@ -1,9 +1,7 @@
|
||||
{
|
||||
"entity": {
|
||||
"tag": {
|
||||
"tag": {
|
||||
"default": "mdi:tag-outline"
|
||||
}
|
||||
"entity_component": {
|
||||
"_": {
|
||||
"default": "mdi:tag-outline"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -3,5 +3,6 @@
|
||||
"name": "Tags",
|
||||
"codeowners": ["@balloob", "@dmulcahey"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/tag",
|
||||
"integration_type": "entity",
|
||||
"quality_scale": "internal"
|
||||
}
|
||||
|
@ -1,15 +1,13 @@
|
||||
{
|
||||
"title": "Tag",
|
||||
"entity": {
|
||||
"tag": {
|
||||
"tag": {
|
||||
"state_attributes": {
|
||||
"tag_id": {
|
||||
"name": "Tag ID"
|
||||
},
|
||||
"last_scanned_by_device_id": {
|
||||
"name": "Last scanned by device ID"
|
||||
}
|
||||
"entity_component": {
|
||||
"_": {
|
||||
"state_attributes": {
|
||||
"tag_id": {
|
||||
"name": "Tag ID"
|
||||
},
|
||||
"last_scanned_by_device_id": {
|
||||
"name": "Last scanned by device ID"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -6002,10 +6002,6 @@
|
||||
"config_flow": true,
|
||||
"iot_class": "cloud_polling"
|
||||
},
|
||||
"tag": {
|
||||
"integration_type": "hub",
|
||||
"config_flow": false
|
||||
},
|
||||
"tailscale": {
|
||||
"name": "Tailscale",
|
||||
"integration_type": "hub",
|
||||
@ -7354,7 +7350,6 @@
|
||||
"shopping_list",
|
||||
"sun",
|
||||
"switch_as_x",
|
||||
"tag",
|
||||
"threshold",
|
||||
"time_date",
|
||||
"tod",
|
||||
|
Loading…
x
Reference in New Issue
Block a user