Remove duplicate device class on Flo water sensor (#82407)

Fixes https://github.com/home-assistant/core/issues/82390
fixes undefined
This commit is contained in:
David F. Mulcahey 2022-11-20 09:19:15 -05:00 committed by GitHub
parent ea0c3e806d
commit 2a817a2874
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,6 @@ async def async_setup_entry(
class FloDailyUsageSensor(FloEntity, SensorEntity):
"""Monitors the daily water usage."""
_attr_device_class = SensorDeviceClass.VOLUME
_attr_icon = WATER_ICON
_attr_native_unit_of_measurement = VOLUME_GALLONS
_attr_state_class: SensorStateClass = SensorStateClass.TOTAL_INCREASING