Disable polling on energy sensors (#93651)
These sensors do not implement async_update so no polling is needed
This commit is contained in:
parent
5feceee588
commit
460d04fc07
1 changed files with 2 additions and 0 deletions
|
@ -226,6 +226,8 @@ class EnergyCostSensor(SensorEntity):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
_attr_entity_registry_visible_default = False
|
_attr_entity_registry_visible_default = False
|
||||||
|
_attr_should_poll = False
|
||||||
|
|
||||||
_wrong_state_class_reported = False
|
_wrong_state_class_reported = False
|
||||||
_wrong_unit_reported = False
|
_wrong_unit_reported = False
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue