I’m working on own sensor component, and it even works fine ))
But I unable to understand to set friendly_name from yaml
to set sensor name I use
... def __init__( ... self._attr_name: str = name ...
And my sensor become available by accessing it via
friendly_name attribute in this case always equals to
My question is how to change
friendly_name attribute from code (allow to set it from sensor config in yaml)