Skip to content

MQTT config payload enhancements #175

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

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

Smankusors
Copy link
Contributor

@Smankusors Smankusors commented Apr 2, 2024

  • remove device name from the sensor name
    because HA will prepend the device name to the sensor name when needed
  • add object_id to enforce the generated sensor_id
    previously HA uses unique_id only (I think), but after I'm updating it to the latest version, HA uses sensor name to generate the unique_id. So by adding object_id, it restored the previous behavior
Before After
Device Page it's difficult to read these long truncated sensor names The sensor names are no longer truncated
Searching Entities it's difficult to find the entity I'm looking for The entity names are shorter and easier to find

let me know wdyt 😉

* remove device name from the sensor name
  because HA will prepend the device name to the sensor name when needed
* add object_id to enforce the generated sensor_id
  previously HA uses unique_id only (I think), but after I'm updating it
  to the latest version, HA uses sensor name to generate the unique_id.
  So by adding object_id, it restored the previous behavior
@Sennevds Sennevds merged commit 00284b9 into Sennevds:master Apr 3, 2024
@oscorbo
Copy link

oscorbo commented Apr 22, 2024

plz make more video :>

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.

3 participants