mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
Update homeassistant/components/roomba/sensor.py
Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
This commit is contained in:
@@ -127,7 +127,7 @@ SENSORS: list[RoombaSensorEntityDescription] = [
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
value_fn=lambda self: (
|
||||
self.run_stats.get("sqft") * 9.29
|
||||
if self.run_stats.get("sqft") is not None
|
||||
if self.run_stats.get("sqft")
|
||||
else None
|
||||
),
|
||||
suggested_display_precision=0,
|
||||
|
Reference in New Issue
Block a user