Skip to content

Conversation

@fantandrea
Copy link
Contributor

Add a quirk to read the energy data from the L535E device.
According to the TP-Link Support (ref: TKID250908555 #63159), the values exposed in get_emeter_data are values computed based on the energy consumption specifications of the device as there is no physical sensor (that's the reason for the missing energy_monitoring in the component list).

TODO:

  • Fix devtools.dump_devinfo to export get_emeter_data

for comp in components_raw["component_list"]
}

def _enable_device_quirks(self) -> None:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't make it static to be called in _parse_components so I called it just after to fix the self.components without touching the self.components_raw

@fantandrea fantandrea marked this pull request as draft October 14, 2025 22:14
@github-actions
Copy link

There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days.
If you are the author of this PR, please leave a comment if you want to keep it open. Also, please rebase your PR onto the latest dev branch to ensure that it's up to date with the latest changes.
Thank you for your contribution!

@github-actions github-actions bot added the stale label Jan 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant