question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Sensor name doesn't act as expected and renaming creates orphans

See original GitHub issue

I am using the precip_probability monitored condition and my app is up-to-date.

The name of the sensor that gets created ends up as a concatenated string of ‘Name’ and sensor type (I think) instead of using just the ‘Name’.

I set the sensor name to Zebra in my sensors.yaml file:

- platform: pirateweather
  name: Zebra
  api_key: 6mwfdaJRNy39nrnNIUXwXhUV7FxSmbZ8HSW9m253
  scan_interval: "00:05:00"
  monitored_conditions:
    - precip_probability

You can see in this screenshot, the newest sensor with ‘Zebra’ in the name contains more than just Zebra. Further, renaming the sensor in the config leads to some duplicate orphan sensors: List of random sensors

Not sure what other info will be useful or what troubleshooting I can do. Thanks!

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
alexander0042commented, Dec 21, 2022

Thanks for the update! Since it seems to have resolved itself, I’m going to close this issue for now; however, feel free to re-open or create a new issue if anything else comes up!

0reactions
joaldescommented, Dec 8, 2022

Just wanted to follow up and say that the other random sensors seem to have taken care of themselves.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EDR (CB Response) API — cbapi 1.7.9 documentation
This will force roll-over current hot partition into warm partition (by renaming it to a time-stamped name) and create a new hot partition...
Read more >
Run git mv after renaming or moving a file
When I rename a file in visual studio, it performs a delete and add operation in git. It should perform a 'git mv'...
Read more >
Army Records Information Management Systems (ARIMS ...
- Select your unit and office symbol, click the submit button. (A list of. ORLs will be displayed.) - Click the Title/name of...
Read more >
How do I rename my Wyze Cam v1/v2 or Pan?
In the Wyze app, tap on your Wyze Cam. Tap on the Settings gear on the top right. Tap Name. Tap on your...
Read more >
Chapter: Configuring Storage Profiles - Cisco UCS Manager
Failed to apply—Creation, deletion, or renaming of a virtual drive has failed due to errors in the underlying storage subsystem. Orphaned—The ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found