1
0
mirror of https://github.com/natekspencer/hacs-oasis_mini.git synced 2025-12-06 18:44:14 -05:00

Address PR comments

This commit is contained in:
Nathan Spencer
2025-11-26 22:01:02 +00:00
parent dfaeb382da
commit cdca084212

View File

@@ -95,10 +95,5 @@ class OasisDeviceSensorEntity(OasisDeviceEntity, SensorEntity):
@property
def native_value(self) -> str | int | float | datetime | None:
"""
Provide the current sensor value from the underlying device.
Returns:
`str` with the sensor's current value, or `None` if the attribute is not present or has no value. The value is taken from the device attribute named by the entity description's `key`.
"""
"""Provide the current sensor value from the underlying device."""
return getattr(self.device, self.entity_description.key)