StyraHem / ShellyForHASS

Shelly smart home platform for Home Assistant
MIT License
621 stars 112 forks source link

[FR] Change name of entity #465

Open vistalba opened 4 years ago

vistalba commented 4 years ago

Is your feature request related to a problem? Please describe.

1.) I've multiple H&T sensors that are died over time. I save the history data in InfluxDB. So all Influx-Data is tagged with the entity name. After changing the device the data of the same room has a new tag. I know, I can use them too in the stats so that I can display the whole history.

2.) I've one of my H&T sensor which I want to use in another room but don't want to loose the history of the room it was until now. There is no way in InfluxDB. So in this case it would be nice to rename the sensor to a "friendly name" so I can easy reuse it as a really new device with new entity.

Describe the solution you'd like

Possibility to define a entity name in configuration.yaml.

Describe alternatives you've considered

I don't know any really workaround yet that work for every situation.

Additional context

I think make this as an additional option shouldn't beak anything but gives the user more flexibility if they have to replace sensor values. This could also be useful for all energy meters.