From 0452bb91c7cda880f14c38389ff29deb8dc77e1e Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 8 Apr 2026 11:57:55 +0200 Subject: [PATCH] Cleanup unused renault base entity method (#167643) --- homeassistant/components/renault/entity.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/homeassistant/components/renault/entity.py b/homeassistant/components/renault/entity.py index d10dd9b9149f..23dfe67f501b 100644 --- a/homeassistant/components/renault/entity.py +++ b/homeassistant/components/renault/entity.py @@ -3,12 +3,10 @@ from __future__ import annotations from dataclasses import dataclass -from typing import cast from renault_api.kamereon.models import KamereonVehicleDataAttributes from homeassistant.helpers.entity import Entity, EntityDescription -from homeassistant.helpers.typing import StateType from homeassistant.helpers.update_coordinator import CoordinatorEntity from .coordinator import RenaultDataUpdateCoordinator @@ -54,10 +52,6 @@ class RenaultDataEntity[T: KamereonVehicleDataAttributes]( super().__init__(vehicle.coordinators[description.coordinator]) RenaultEntity.__init__(self, vehicle, description) - def _get_data_attr(self, key: str) -> StateType: - """Return the attribute value from the coordinator data.""" - return cast(StateType, getattr(self.coordinator.data, key)) - @property def assumed_state(self) -> bool: """Return True if unable to access real state of the entity."""