Add wifi sensors to other

This commit is contained in:
Cosimo
2024-02-02 11:41:36 +00:00
parent dd3d7cdb52
commit 03bd9e4c96

View File

@@ -237,7 +237,7 @@ SENSOR_TYPES: tuple[RingSensorEntityDescription, ...] = (
RingSensorEntityDescription( RingSensorEntityDescription(
key="wifi_signal_category", key="wifi_signal_category",
translation_key="wifi_signal_category", translation_key="wifi_signal_category",
category=["chimes", "doorbots", "authorized_doorbots", "stickup_cams"], category=["chimes", "doorbots", "authorized_doorbots", "stickup_cams", "other"],
icon="mdi:wifi", icon="mdi:wifi",
entity_category=EntityCategory.DIAGNOSTIC, entity_category=EntityCategory.DIAGNOSTIC,
cls=HealthDataRingSensor, cls=HealthDataRingSensor,
@@ -245,7 +245,7 @@ SENSOR_TYPES: tuple[RingSensorEntityDescription, ...] = (
RingSensorEntityDescription( RingSensorEntityDescription(
key="wifi_signal_strength", key="wifi_signal_strength",
translation_key="wifi_signal_strength", translation_key="wifi_signal_strength",
category=["chimes", "doorbots", "authorized_doorbots", "stickup_cams"], category=["chimes", "doorbots", "authorized_doorbots", "stickup_cams", "other"],
native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT, native_unit_of_measurement=SIGNAL_STRENGTH_DECIBELS_MILLIWATT,
icon="mdi:wifi", icon="mdi:wifi",
device_class=SensorDeviceClass.SIGNAL_STRENGTH, device_class=SensorDeviceClass.SIGNAL_STRENGTH,