mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Explicitly opt-in to device name in the cpuspeed integration (#94844)
This commit is contained in:
@@ -35,6 +35,7 @@ class CPUSpeedSensor(SensorEntity):
|
||||
_attr_device_class = SensorDeviceClass.FREQUENCY
|
||||
_attr_icon = "mdi:pulse"
|
||||
_attr_has_entity_name = True
|
||||
_attr_name = None
|
||||
_attr_native_unit_of_measurement = UnitOfFrequency.GIGAHERTZ
|
||||
|
||||
def __init__(self, entry: ConfigEntry) -> None:
|
||||
|
Reference in New Issue
Block a user