diff --git a/homeassistant/components/keenetic_ndms2/binary_sensor.py b/homeassistant/components/keenetic_ndms2/binary_sensor.py index fa9b1fd48dd..f39c92519e4 100644 --- a/homeassistant/components/keenetic_ndms2/binary_sensor.py +++ b/homeassistant/components/keenetic_ndms2/binary_sensor.py @@ -28,16 +28,12 @@ class RouterOnlineBinarySensor(BinarySensorEntity): _attr_device_class = BinarySensorDeviceClass.CONNECTIVITY _attr_should_poll = False + _attr_has_entity_name = True def __init__(self, router: KeeneticRouter) -> None: """Initialize the APCUPSd binary device.""" self._router = router - @property - def name(self): - """Return the name of the online status sensor.""" - return f"{self._router.name} Online" - @property def unique_id(self) -> str: """Return a unique identifier for this device."""