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
@@ -7,7 +7,6 @@ import voluptuous as vol
|
||||
from homeassistant import config_entries
|
||||
from homeassistant.const import (
|
||||
ATTR_EDITABLE,
|
||||
ATTR_HIDDEN,
|
||||
ATTR_LATITUDE,
|
||||
ATTR_LONGITUDE,
|
||||
CONF_ICON,
|
||||
@@ -332,7 +331,6 @@ class Zone(entity.Entity):
|
||||
def _generate_attrs(self) -> None:
|
||||
"""Generate new attrs based on config."""
|
||||
self._attrs = {
|
||||
ATTR_HIDDEN: True,
|
||||
ATTR_LATITUDE: self._config[CONF_LATITUDE],
|
||||
ATTR_LONGITUDE: self._config[CONF_LONGITUDE],
|
||||
ATTR_RADIUS: self._config[CONF_RADIUS],
|
||||
|
||||
Reference in new issue
Block a user