Skip to content

Fix/tolerant parsing - #109

Merged
Sholofly merged 2 commits into
devfrom
fix/tolerant-parsing
Oct 30, 2026
Merged

Sholofly merged 2 commits into
devfrom
fix/tolerant-parsing

Conversation

@Sholofly

Copy link
Copy Markdown
Owner

No description provided.

Sholofly and others added 2 commits October 30, 2026 19:06
- Skip channels without id, number or name, devices without deviceId or
  hashedCPEId, and profiles without profileId instead of failing
  initialize().
- Use defaults for optional fields: device friendly name (device id),
  profile name (profile id), profile language ("nl") and channel image
  stream (logo or empty).
- Raise a clear LGHorizonApiError when an account has no profiles.
- Log unknown running states, source types, UI statuses and platform
  types once per value at warning level.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
# Conflicts:
#	lghorizon/lghorizon_models.py
#	tests/test_api.py
#	tests/test_models.py
@Sholofly
Sholofly merged commit 4ac6d47 into dev Oct 30, 2026
2 checks passed
@Sholofly
Sholofly deleted the fix/tolerant-parsing branch October 30, 2026 19:19
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