From bf314970ea8f89f32c25872f381530544e61d4f0 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 12 May 2022 13:14:33 +0200 Subject: [PATCH] Remove username entity from Geocaching (#71728) --- homeassistant/components/geocaching/sensor.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/homeassistant/components/geocaching/sensor.py b/homeassistant/components/geocaching/sensor.py index 82353a81484..0c719c463a4 100644 --- a/homeassistant/components/geocaching/sensor.py +++ b/homeassistant/components/geocaching/sensor.py @@ -11,7 +11,7 @@ from homeassistant.components.sensor import SensorEntity, SensorEntityDescriptio from homeassistant.config_entries import ConfigEntry from homeassistant.core import HomeAssistant from homeassistant.helpers.device_registry import DeviceEntryType -from homeassistant.helpers.entity import DeviceInfo, EntityCategory +from homeassistant.helpers.entity import DeviceInfo from homeassistant.helpers.entity_platform import AddEntitiesCallback from homeassistant.helpers.update_coordinator import CoordinatorEntity @@ -34,13 +34,6 @@ class GeocachingSensorEntityDescription( SENSORS: tuple[GeocachingSensorEntityDescription, ...] = ( - GeocachingSensorEntityDescription( - key="username", - name="username", - icon="mdi:account", - entity_category=EntityCategory.DIAGNOSTIC, - value_fn=lambda status: status.user.username, - ), GeocachingSensorEntityDescription( key="find_count", name="Total finds",