Skip to content

Fix: Remove deprecated homeCityState field from BasePet fragment#41

Open
sagig76 wants to merge 1 commit into
sbabcock23:masterfrom
sagig76:master
Open

Fix: Remove deprecated homeCityState field from BasePet fragment#41
sagig76 wants to merge 1 commit into
sbabcock23:masterfrom
sagig76:master

Conversation

@sagig76

@sagig76 sagig76 commented Jun 11, 2026

Copy link
Copy Markdown

TryFi recently removed the homeCityState field from the BasePet type in their GraphQL schema. This caused all client queries requesting the field to fail with a 400 Bad Request and crash the Home Assistant TryFi integration.

This PR removes the field from FRAGEMENT_BASE_PET_PROFILE in const.py. Since the library's fiPet.py already handles the parsing of homeCityState within a try-except block (defaulting to 'FakeCity' if missing), this change is fully backward-compatible and resolves the integration setup failure.

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