Skip to content

Restored missing SensorInfo parameters, fixed mqtt global variable shadowing and some linting#64

Merged
AnotherDaniel merged 1 commit intoAnotherDaniel:mainfrom
bhelm:main
Oct 29, 2025
Merged

Restored missing SensorInfo parameters, fixed mqtt global variable shadowing and some linting#64
AnotherDaniel merged 1 commit intoAnotherDaniel:mainfrom
bhelm:main

Conversation

@bhelm
Copy link
Copy Markdown
Contributor

@bhelm bhelm commented Oct 28, 2025

I noticed the integration was not updating any values my HA anymore. luckily claude was able to spot the problem pretty quickly.

Also my local linter suggested that pubunits is unused in mqtt, because removing the global definition would create a local variable shadowing issue, making pubunits always false. Its now replaced by a closure pattern. But i have not tested it, as i use the ha version.

i also bumped the version to 1.7.1 in the code.

I also want to thank you for creating the integration in the first place and still maintaining it. Im glad i can help.

@devfaz
Copy link
Copy Markdown

devfaz commented Oct 29, 2025

Seems this PR is also fixing #65

@bhelm
Copy link
Copy Markdown
Contributor Author

bhelm commented Oct 29, 2025

@AnotherDaniel ping in case you did not get the notification about the PR. The master branch is currently broken.

Copy link
Copy Markdown
Owner

@AnotherDaniel AnotherDaniel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - thanks for fixing this!

@AnotherDaniel AnotherDaniel merged commit bd1ceba into AnotherDaniel:main Oct 29, 2025
2 of 5 checks 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.

3 participants