Prevent AirVisual from polling (#36199)
* Prevent AirVisual from polling * Docstringpull/36204/head
parent
f626129e2b
commit
6609bd94e5
|
@ -375,6 +375,11 @@ class AirVisualEntity(Entity):
|
|||
"""Return the icon."""
|
||||
return self._icon
|
||||
|
||||
@property
|
||||
def should_poll(self) -> bool:
|
||||
"""Disable polling."""
|
||||
return False
|
||||
|
||||
@property
|
||||
def unit_of_measurement(self):
|
||||
"""Return the unit the value is expressed in."""
|
||||
|
|
Loading…
Reference in New Issue