Fix Fjäråskupan RSSI sensor unit (#55210)

pull/55216/head
Erik Montnemery 2021-08-25 15:39:49 +02:00 committed by GitHub
parent e633cc177e
commit 856f4ad740
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class RssiSensor(CoordinatorEntity[State], SensorEntity):
self._attr_name = f"{device_info['name']} Signal Strength" self._attr_name = f"{device_info['name']} Signal Strength"
self._attr_device_class = DEVICE_CLASS_SIGNAL_STRENGTH self._attr_device_class = DEVICE_CLASS_SIGNAL_STRENGTH
self._attr_state_class = STATE_CLASS_MEASUREMENT self._attr_state_class = STATE_CLASS_MEASUREMENT
self._attr_unit_of_measurement = SIGNAL_STRENGTH_DECIBELS_MILLIWATT self._attr_native_unit_of_measurement = SIGNAL_STRENGTH_DECIBELS_MILLIWATT
self._attr_entity_registry_enabled_default = False self._attr_entity_registry_enabled_default = False
@property @property