Skip to content

AI update based on proto changes - #744

Draft
viambot wants to merge 1 commit into
mainfrom
workflow/ai-updater
Draft

viambot wants to merge 1 commit into
mainfrom
workflow/ai-updater

Conversation

@viambot

@viambot viambot commented Nov 18, 2026

Copy link
Copy Markdown
Member

This is an AI-generated PR to update the SDK based on proto changes. The AI may make mistakes so review carefully.

Summary of Changes:
This update introduces new functionality to the PowerSensor component:

  • Added get_battery_percent(): Allows querying the remaining charge percentage of the monitored battery.
  • Added get_properties(): Allows querying sensor properties, specifically checking if battery percentage reporting is supported.

These additions involve:

  • Defining new gRPC methods (GetBatteryPercent, GetProperties) and corresponding protobuf messages.
  • Updating the PowerSensor interface, client, and server implementations in the SDK.
  • Adding mock implementations and test cases for the new functionality.

This branch has not been deployed

No deployments
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