Add ThinQ2 device handler for LG DLE7300WE dryer (RV13U6AM8W_D_US_WIFI)#78
Add ThinQ2 device handler for LG DLE7300WE dryer (RV13U6AM8W_D_US_WIFI)#78brystmar wants to merge 2 commits into
Conversation
anszom
left a comment
There was a problem hiding this comment.
Please add an unit test here as well.
| if (this.lastPhase === 0 && phase !== 0) { | ||
| this.startTime = new Date().toISOString() | ||
| this.publishProperty('start_time', this.startTime) | ||
| } else if (this.lastPhase !== 0 && phase === 0) { | ||
| this.stopTime = new Date().toISOString() | ||
| this.publishProperty('stop_time', this.stopTime) | ||
| } | ||
| this.lastPhase = phase |
There was a problem hiding this comment.
the same "post-processing" comment applies here, see the other PR for details.
…min, add tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
brystmar
left a comment
There was a problem hiding this comment.
Removed start_time and stop_time sensors and the lastPhase tracking logic behind them. These were derived from phase transitions, not device-reported values, making them unreliable across reconnects.
Renamed remaining_time_min to remaining_time.
Add 17 unit tests including 8 real validated captures from a live LG DLE7300WE, covering all mapped phases (Off, Starting, Drying, Paused, Cooldown) and documenting two current parser limitations: the truncated single-record cooldown EC, and the three-record power-off EC are silently ignored by the parser.
Adds support for the LG DLE7300WE dryer (internal model
RV13U6AM8W_D_US_WIFI, deviceType 202, ThinQ2 Wi-Fi module).What this adds
A new device handler that parses the AA/BB-framed status packets (
0xECdual-record and0xEBsingle-record) to expose the following Home Assistant sensors:Notes
0xECpacket carries two back-to-back 29-byte records (current + previous); only the current (first) record is used.0x00after a cooldown (0x33) and brief transitional (0x04) state.