Complete deprecation of hidden attribute (ATTR_HIDDEN) (#37041)
This commit is contained in:
1 parent
c289f9f099
commit
152a80abed
7 files changed
+4
-59
No files matched your search
@@ -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}"]
|
||||
|
||||
Reference in new issue
Block a user