Complete deprecation of hidden attribute (ATTR_HIDDEN) (#37041)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2020-06-23 17:05:32 -05:00
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}"]