Complete deprecation of hidden attribute (ATTR_HIDDEN) (#37041)
This commit is contained in:
parent
c289f9f099
commit
152a80abed
7 changed files with 4 additions and 59 deletions
|
@ -75,9 +75,6 @@ def setup(hass, config):
|
|||
if state is None or state.state == STATE_UNKNOWN:
|
||||
return
|
||||
|
||||
if state.attributes.get("hidden") is True:
|
||||
return
|
||||
|
||||
states = dict(state.attributes)
|
||||
metric = f"{prefix}.{state.domain}"
|
||||
tags = [f"entity:{state.entity_id}"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue