Skip to content

feat: Add support for WYLDR16A1081 smart plug#508

Open
dArkjON wants to merge 2 commits intowebdjoe:devfrom
dArkjON:dev
Open

feat: Add support for WYLDR16A1081 smart plug#508
dArkjON wants to merge 2 commits intowebdjoe:devfrom
dArkjON:dev

Conversation

@dArkjON
Copy link
Copy Markdown

@dArkjON dArkjON commented Mar 27, 2026

Add WYLDR16A1081 to the device map as a dedicated entry with a new VeSyncWYLDRPlug class. This device is functionally identical to the BSDOG01 series (on/off, real-time power, voltage, daily energy) but does not support energy history retrieval via the bypassV2 API — calls to getEnergyHistory return result code -1 for this device type.

VeSyncWYLDRPlug overrides _get_energy_history() with a no-op so that weekly and monthly history requests are silently skipped instead of generating spurious warning logs on every poll cycle.

dArkjON added 2 commits March 27, 2026 02:57
Add WYLDR16A1081 to the device map as a dedicated entry with a new
VeSyncWYLDRPlug class. This device is functionally identical to the
BSDOG01 series (on/off, real-time power, voltage, daily energy) but
does not support energy history retrieval via the bypassV2 API —
calls to getEnergyHistory return result code -1 for this device type.

VeSyncWYLDRPlug overrides _get_energy_history() with a no-op so that
weekly and monthly history requests are silently skipped instead of
generating spurious warning logs on every poll cycle.
@dArkjON dArkjON changed the title Add support for WYLDR16A1081 smart plug feat: Add support for WYLDR16A1081 smart plug Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant