Skip to content

Fix consumption reporting for Lidl SilverCrest (_TZ3000_j1v25l17) - #7621

Merged
manup merged 4 commits into
dresden-elektronik:masterfrom
Fischelsberger:fix_hg08673
Feb 25, 2024
Merged

Fix consumption reporting for Lidl SilverCrest (_TZ3000_j1v25l17)#7621
manup merged 4 commits into
dresden-elektronik:masterfrom
Fischelsberger:fix_hg08673

Conversation

@Fischelsberger

Copy link
Copy Markdown
Contributor

I've create a PR for this issue, @FlatTV provided the fix in #7603.

I've used a little bit different approach, because the missing ";" seemed as an issue compare to a different DDF of a Tuya Device.
Seems like the ";" was missing and also the "Item" was written Lowercase.

resolves #7603

old:

"eval": "item.val = 10 * Attr.val"

new:

"eval": "Item.val = Attr.val * 10;"

@FlatTV

FlatTV commented Feb 18, 2024

Copy link
Copy Markdown

I think the lowercase of „Item.val“ is the only problem here

@manup

manup commented Feb 20, 2024

Copy link
Copy Markdown
Member

The former 420 interval is also better since it needs to be higher than the respective reporting interval.

@manup manup added the Fix label Feb 20, 2024
@Fischelsberger

Copy link
Copy Markdown
Contributor Author

sorry, I think I screwed up my commit now...
Wanted to change the 300 back to 420, and guess that not worked out...

Not used to the usage of git in general...

But it seems fine now (with 2 additional commits...)?

@manup

manup commented Feb 25, 2024

Copy link
Copy Markdown
Member

Multiple commit are fine, we mostly do squash merge the PRs so they get reduced to one commit :)

@manup manup added this to the v2.26.1-beta milestone Feb 25, 2024
@manup
manup merged commit 4a08adc into dresden-elektronik:master Feb 25, 2024
@Fischelsberger
Fischelsberger deleted the fix_hg08673 branch May 18, 2024 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LIDL smart plug: no update on consumption value (hg08673.json)

3 participants