Skip to content

MQTT config payload enhancements - #175

Merged
Sennevds merged 1 commit into
Sennevds:masterfrom
Smankusors:config-payload-enhancement
Apr 3, 2024
Merged

MQTT config payload enhancements#175
Sennevds merged 1 commit into
Sennevds:masterfrom
Smankusors:config-payload-enhancement

Conversation

@Smankusors

@Smankusors Smankusors commented Apr 2, 2024

Copy link
Copy Markdown
Contributor
  • 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

oscorbo commented Apr 22, 2024

Copy link
Copy Markdown

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