Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix friendly name of unnamed Tasmota devices #249

Merged
merged 1 commit into from
Sep 11, 2023
Merged

Conversation

emontnemery
Copy link
Owner

@emontnemery emontnemery commented Sep 11, 2023

Tasmota allows configuring a name of the device, command DeviceName, as well as names of each relay, command FriendlyNameX.

If no device name is configured, Tasmota falls back to FriendlyName1:

DeviceName Device name displayed in the webUI and used for HA autodiscovery.
= set device name (default = FriendlyName1 value)

Handle this case by setting the friendly name of the first relay to None if it's same as the device name.

Fixes #247

@emontnemery emontnemery merged commit 78e5d59 into master Sep 11, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2023.9.0 shows duplicate names on Tasmota devices
1 participant