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 power monitor and power sensor name handling #3837

Merged
merged 2 commits into from
Mar 29, 2024

Conversation

out-of-phaze
Copy link
Member

Description of changes

Makes power monitors not break on power sensors with non-alphanumeric characters in their names.
Makes power sensor autonaming start at #1 instead of #100.

Changes taken from Lighthouse.

Why and what will this PR improve

Power monitors can actually view sensors regardless of non-alphanumeric characters being in their name.
Power sensor autonaming now only adds labels to #2 and onwards, so an area with only one auto-named sensor will just use the area name.

@out-of-phaze out-of-phaze added the ready for review This PR is ready for review and merge. label Mar 27, 2024
@comma comma merged commit 766576e into NebulaSS13:stable Mar 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for review This PR is ready for review and merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants