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:
Federico D'Amico 2024-02-24 20:07:04 +01:00 committed by GitHub
parent 9cebbf15f3
commit bf9c4197b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 80 additions and 1 deletions

View file

@ -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