Skip to content

Commit 9c83b49

Browse files
committed
Actually use SIGNAL_STRENGTH_DECIBELS_MILLIWATT.
1 parent e4920ad commit 9c83b49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/petsafe/SensorEntities.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def __init__(
4949
self._attr_entity_category = entity_category
5050

5151
if device_class == "signal_strength":
52-
self._attr_native_unit_of_measurement = SIGNAL_STRENGTH_DECIBELS
52+
self._attr_native_unit_of_measurement = SIGNAL_STRENGTH_DECIBELS_MILLIWATT
5353
elif device_class == "battery":
5454
self._attr_native_unit_of_measurement = PERCENTAGE
5555

0 commit comments

Comments
 (0)