tony-fav / tasmota-blerry

GNU General Public License v3.0
96 stars 29 forks source link

Support a Friendly Name #48

Closed edestecd closed 2 years ago

edestecd commented 2 years ago

Allow the name in Home Assistant for the device to contain spaces and be separate from the bluetooth alias and mqtt topic. In Tasmota this is known as the friendly_name and it is separate and can be set independently. As far as I can tell there is currently no way to have a space in the name presented to Home Assistant other than to edit it in home assistant after the fact.

Some ideas: use string_replace on alias and replace spaces. Then use the replacement for mqtt topic and bluetooth alias while using original alias as Name for discovery etc.

Add a new attribute called friendly_name to allow the setting of the home assistant name independently of the topic and bluetooth alias.

edestecd commented 2 years ago

closed via #49