Friendly name for Custom component

Hi I have a bit of a silly question: did something change with the friendly_name property?
This custom component worked on my setup for a long long time

def friendly_name(self):
“”“Return the fname of the sensor.”""
return self._fname

I’ve just moved my installation to a new hardware, cloned my component but don’t get the friendly_name. Everything else works (even the icon) but not the name.
Any suggestions?

Found it.
If anyone is looking for the same information have a look at