mirror of
https://github.com/home-assistant/core.git
synced 2025-07-13 16:27:08 +00:00
Updated a comment in the entity class.
This commit is contained in:
parent
f130ad6c27
commit
a95aad324f
@ -152,8 +152,8 @@ class Entity(object):
|
||||
@staticmethod
|
||||
def overwrite_attribute(entity_id, attr, val):
|
||||
"""
|
||||
Overwrite the hidden property of an entity.
|
||||
Set hidden to None to remove any overwritten value in place.
|
||||
Overwrite any attribute of an entity.
|
||||
Set attribute to None to remove any overwritten value in place.
|
||||
"""
|
||||
if val is None:
|
||||
_OVERWRITE[attr].pop(entity_id, None)
|
||||
|
Loading…
x
Reference in New Issue
Block a user