Skip to content

Fix trigger_homelink protobuf assignment error#28

Merged
Bre77 merged 1 commit intomainfrom
loose-viper-c919bd
Jan 19, 2026
Merged

Fix trigger_homelink protobuf assignment error#28
Bre77 merged 1 commit intomainfrom
loose-viper-c919bd

Conversation

@Bre77
Copy link
Member

@Bre77 Bre77 commented Jan 19, 2026

Summary

Test plan

  • Verified module imports successfully
  • Tested protobuf message creation with and without location

🤖 Generated with Claude Code

Use constructor-based initialization for LatLong instead of direct field
assignment on nested protobuf messages, which was causing AttributeError.

Fixes #9

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@Bre77 Bre77 merged commit 4a3fa95 into main Jan 19, 2026
3 checks passed
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.

Home Assistant HomeLink trigger fails. AttributeError: Assignment not allowed to message field "location" in protocol message object

1 participant