Add light platform to microBees and change docstring in sensor (#111093)
* Add light platform to microBees and change docstring in sensor * update .coveragerc * fixes review * fixes review * fixes async_add_entities
This commit is contained in:
parent
9cebbf15f3
commit
bf9c4197b9
4 changed files with 80 additions and 1 deletions
|
@ -98,7 +98,7 @@ class MBSensor(MicroBeesEntity, SensorEntity):
|
|||
|
||||
@property
|
||||
def native_value(self) -> float | None:
|
||||
"""Return the value reported by the sensor, or None if the relevant sensor can't produce a current measurement."""
|
||||
"""Return the state of the sensor."""
|
||||
return self.sensor.value
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue