mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 06:50:12 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user