Add friendly_name attribute to modbus sensor

Now there is no friendly_name attribute.
Name becomes also a friendly name.

It would be nice to have separate attribute for friendly name (just like template sensor).

You can customize the friendly name…

1 Like

Using customize seems better than creating a separate template sensor for each modbus sensor.
But there are also disadvantages: configuration becomes complicated, one entity (modbus sensor) is configured in several different places.

By the way, we already have device_class and unit_of_measurement for modbus sensor, so we do not need customize to set them.
Also having friendly_name seems consistent.

1 Like

100% agree with this, it’s extremly inconsistent across all the integrations, to add to that, the name of the config option for integrations that have it, differs as well between integrations.