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

This commit is contained in:
J. Nick Koston 2020-06-23 17:05:32 -05:00 committed by GitHub
parent c289f9f099
commit 152a80abed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 4 additions and 59 deletions

View file

@ -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}"]