I am using a sensor that utilizes the ‘rest’ platform. In general it works fine. The only thing I was wondering about, is the friendly name attribute. The Web UI shows the sensor but with its ugly name. The friendly name, that I have set on the config, seems to be ignored. Is the friendly name not inherited all over the sensors etc.? Is there any other possibility to get a nice name in the web UI?
You are right. There is no friendly name parameter in the example and the UI shows the string that is used as a name.
My naive assumption was, that there might be a base class for sensors that handles such basics as friendly names etc. (parameters that every sensor should have).
So I think there is no other possibility to assign a nice looking name than put it into the name parameter.
Thank you.
The sensors and a lot of other devices can be customized. friendly_name is not used in the device configuration itself but name serves the same purpose.