Move temperature conversions to sensor base class (3/8) (#54469)

* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
This commit is contained in:
Erik Montnemery
2021-08-12 14:23:56 +02:00
committed by GitHub
parent 103e21c278
commit 6de6a5dc14
70 changed files with 350 additions and 324 deletions

View File

@@ -108,7 +108,7 @@ class GitHubSensor(SensorEntity):
return self._unique_id
@property
def state(self):
def native_value(self):
"""Return the state of the sensor."""
return self._state