Move temperature conversions to sensor base class (5/8) (#54475)
This commit is contained in:
parent
e55868b17f
commit
103e21c278
65 changed files with 289 additions and 288 deletions
|
@ -107,7 +107,7 @@ class NOAATidesAndCurrentsSensor(SensorEntity):
|
|||
return attr
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
def native_value(self):
|
||||
"""Return the state of the device."""
|
||||
if self.data is None:
|
||||
return None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue