-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[frenchgovtenergydata] Fix IllegalArgumentException
for thing type tempo
#19424
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
Conversation
Signed-off-by: Laurent ARNAL <laurent@clae.net>
Hello @clinique, I've realized that there was a mistake on modification I've made on 5.0 to add tempo tariff on frenchgovenergydata. Laurent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a quick check wondering about the meaning of that empty line value, and proposed a small refactoring. Forgive me if I misunderstood the intention here.
.../main/java/org/openhab/binding/frenchgovtenergydata/internal/handler/TempoTariffHandler.java
Outdated
Show resolved
Hide resolved
Signed-off-by: Laurent ARNAL <laurent@clae.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I discovered '.repeat'
It's stay to Unknow status, no other errors message displayed. |
In the log, there is a trace for the exception: java.lang.IllegalArgumentException: Incorrect data in ';;;;;;;;;;;;;;;;' |
IllegalArgumentException
for thing type tempo
…`tempo` (#19424) * fix tempo tariff EMPTY_LINE format Signed-off-by: Laurent ARNAL <laurent@clae.net>
As a regression of #18732, I've backported the fix to 5.0.x. |
Ok, thanks a lot. Laurent. |
Fixes for tempo tariff Handler in Frenchgovtenergydata
The was an error in 5.0 in the format of EMPTY_LINE for tempo tariff.
This 1 line fix correct the issue.
Without it, the thing never come online :(