-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[airthings] Add support for Airthings Wave Gen 1 #11052
[airthings] Add support for Airthings Wave Gen 1 #11052
Conversation
0e6aa86
to
425a31f
Compare
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 this addition!
Just some very small review comments before we can merge.
<bridge-type-ref id="roaming" /> | ||
<bridge-type-ref id="bluegiga" /> | ||
<bridge-type-ref id="bluez" /> | ||
</supported-bridge-type-refs><label>Airthings Wave Gen 1</label><description>Smart Radon Monitor</description><channels> |
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.
Some line breaks seem to be missing here.
Please run a mvn spotless:apply
.
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 made the corrections.
switch (readSensor) { | ||
case TEMPERATURE: | ||
dblResult = intFromBytes(rawdata[0], rawdata[1]) / 100D; | ||
logger.info("Parsed data 1: {}", String.format("[temperature=%.1f °C]", dblResult)); |
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.
Please only use debug level for all those logs (here and below).
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 changed all logging to debug level only, as requested.
71264c7
to
2c6a934
Compare
[airthings] Add support for Airthings Wave Gen 1 [airthings] Add support for Airthings Wave Gen 1 [airthings] Add support for Airthings Wave Gen 1 [airthings] Add support for Airthings Wave Gen 1 [airthings] Add support for Airthings Wave Gen 1 Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…nhab#11046) * [miio] Minor improvement documentation & message * [miio] minor cleanup from sat * miio] fix another minor datetimeformat SAT issue Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Add binding for Hama IR100, Hama DIR3100 and Auna Connect CD Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…er (openhab#11028) * Removed erroneous chlorinator code from filterhandler Signed-off-by: Matt Myers <mmyers75@icloud.com> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
* [homeassistant/homie] Standardize config URI Signed-off-by: Laurent Garnier <lg.hc@free.fr> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…hab#11023) Signed-off-by: Riccardo Nimser-Joseph <github@nimric.de> Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…age (openhab#11046)" This reverts commit a3a30ac. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
This reverts commit 3c3c4a0. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…terhandler (openhab#11028)" This reverts commit 607bfc1. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
This reverts commit ebbc17d. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
…es (openhab#11023)" This reverts commit 291d904. Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
5155245
to
992d960
Compare
1ac48d0
to
7e63973
Compare
Well, making those revisions to two files became very messy with a lot of extra commits... |
@kaikreuzer Are you okay with the changes I made in address your requested changes? |
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.
Yes, looks good to me, thank you!
FTR, the formatting was still not ok, I have created #11068 to fix it. |
FTR, the SAT tests were failing as well 😢 . Fixed it with #11074. |
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com> Signed-off-by: Dave J Schoepel <dave@theschoepels.com>
Signed-off-by: dw-8 <davy.wong.on+github@gmail.com>
Add support for Airthings Wave Gen 1
Signed-off-by: Davy Wong davy.wong.on+github@gmail.com