Skip to content

Keba: Fix type mismatch warning on setState for phaseCount#706

Open
t-mon wants to merge 1 commit intomasterfrom
keba-phasecount-datatype
Open

Keba: Fix type mismatch warning on setState for phaseCount#706
t-mon wants to merge 1 commit intomasterfrom
keba-phasecount-datatype

Conversation

@t-mon
Copy link
Copy Markdown
Contributor

@t-mon t-mon commented Jun 19, 2023

nymea-plugins pull request checklist:

  • Make sure the pull request's title is of format "Plugin name: Add support for xyz" or "New plugin: Plugin name"

  • Did you test the changes on hardware, if not (e.g. absence of required hardware), please mention a person to confirm it has been tested.

  • Did you update the plugin's README.md accordingly?

  • Did you update translations (cd builddir && make lupdate)?

@mzanetti
Copy link
Copy Markdown
Contributor

Hmm... Just reading it I don't think that'll fix the issue... I mean, yes, it will get rid of the warning because a invalid QVariant will be converted to 0 on a toUint() but I suppose the actual issue in a different place, perhaps even the core or the app, in that it feeds the API with a invalid QVariant in the first place... Can we reproduce it somehow?

@mzanetti mzanetti added landing experimental Branches with this tag will be built in the experimental track and removed landing experimental Branches with this tag will be built in the experimental track labels Aug 18, 2023
@mzanetti mzanetti self-requested a review August 18, 2023 09:47
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.

2 participants