Skip to content

Commit

Permalink
Set Motion Blinds battery sensor as a diagnostic (#104329)
Browse files Browse the repository at this point in the history
  • Loading branch information
allenporter committed Nov 21, 2023
1 parent 4c7da97 commit 95e322c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/motion_blinds/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class MotionBatterySensor(MotionCoordinatorEntity, SensorEntity):

_attr_device_class = SensorDeviceClass.BATTERY
_attr_native_unit_of_measurement = PERCENTAGE
_attr_entity_category = EntityCategory.DIAGNOSTIC

def __init__(self, coordinator, blind):
"""Initialize the Motion Battery Sensor."""
Expand Down

0 comments on commit 95e322c

Please sign in to comment.