217f25fff6
[teleinfo] code cleanup and remove timeout ( #9902 )
...
* Remove timeout when waiting frame
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Add olivierkeke to code owners list
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Code cleanup
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Refactor data objects
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Apply some sonarlint suggestions
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Fix typo
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Simplify thing compatibility test
Co-authored-by: Connor Petty <mistercpp2000@gmail.com >
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
* Remove dot from PTEC values
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
Co-authored-by: Connor Petty <mistercpp2000@gmail.com >
2021-04-10 22:36:06 +02:00
olivierkeke and GitHub
4e73b05ff0
[teleinfo] Fix memory leak ( #9724 )
...
* Use set instead list to avoid duplicate listeners
* Remove from listeners when bridge is not ONLINE
* Unsubscribe from bridge handler events when thing handler is disposed
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
2021-01-13 11:40:25 -08:00
olivierkeke and GitHub
f5d5cd4b4c
[teleinfo] Use new apparent power unit ( #9456 )
...
* Use new apparent power unit
* Apply spotless formatting
Signed-off-by: Olivier Marceau <hollysaiqs@marceau.ovh >
2020-12-22 19:08:39 -08:00