Remove sensor exposing UniFi WLAN password (#115929)
This commit is contained in:
parent
95b858648e
commit
83370a5bde
2 changed files with 0 additions and 84 deletions
|
@ -350,19 +350,6 @@ ENTITY_DESCRIPTIONS: tuple[UnifiSensorEntityDescription, ...] = (
|
|||
value_fn=async_device_state_value_fn,
|
||||
options=list(DEVICE_STATES.values()),
|
||||
),
|
||||
UnifiSensorEntityDescription[Wlans, Wlan](
|
||||
key="WLAN password",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
entity_registry_enabled_default=False,
|
||||
api_handler_fn=lambda api: api.wlans,
|
||||
available_fn=async_wlan_available_fn,
|
||||
device_info_fn=async_wlan_device_info_fn,
|
||||
name_fn=lambda wlan: "Password",
|
||||
object_fn=lambda api, obj_id: api.wlans[obj_id],
|
||||
supported_fn=lambda hub, obj_id: hub.api.wlans[obj_id].x_passphrase is not None,
|
||||
unique_id_fn=lambda hub, obj_id: f"password-{obj_id}",
|
||||
value_fn=lambda hub, obj: obj.x_passphrase,
|
||||
),
|
||||
UnifiSensorEntityDescription[Devices, Device](
|
||||
key="Device CPU utilization",
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue