Sitelet https://github.com/cmos486/Bravia-REST-API/tags
Skip to content

Tags: cmos486/Bravia-REST-API

Tags

v1.7.1

Toggle v1.7.1's commit message
chore: bump version to 1.7.1

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.7.0

Toggle v1.7.0's commit message
feat: separate polling intervals for TV on vs standby

Adds a configurable standby polling interval (default 60s, max 300s)
so users can reduce network traffic when the TV is off while keeping
fast updates when it's on.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.6.0

Toggle v1.6.0's commit message
chore: bump version to 1.6.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.8

Toggle v1.5.8's commit message
fix: add HTTPS auto-detection and strip PSK whitespace (#10)

Newer consumer Bravia TVs (e.g. Bravia 5) may serve the REST API over
HTTPS instead of HTTP. The config flow now tries HTTP first, then falls
back to HTTPS with self-signed cert support. Also strips whitespace from
the PSK input and handles HTTP 401 in addition to 403 for auth errors.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.7

Toggle v1.5.7's commit message
fix: configured devices reappearing as "discovered" after restart (#9)

SSDP discovery without PSK falls back to host IP as unique_id, which
doesn't match the serial/mac unique_id set during manual configuration.
Add _async_abort_entries_match by host before the unique_id check so
already-configured devices are correctly recognized.

Bump version to 1.5.7.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.6

Toggle v1.5.6's commit message
fix: Sound Output select stuck 'unknown' — use getSoundSettings inste…

…ad of getSpeakerSettings (#6)

outputTerminal is a sound setting (getSoundSettings v1.1), not a speaker
setting. The previous code called getSpeakerSettings which returns
"Illegal Argument" for this target, leaving the entity permanently unknown.

Changes:
- Add get_sound_settings() to BraviaClient (mirrors set_sound_settings)
- Poll sound output via coordinator so external changes (TV remote, eARC)
  propagate automatically instead of a one-time fetch at startup
- BraviaSoundOutputSelect now reads from coordinator data

Also included in this release (merged from gaoflow/fix-7-ssdp-service-info-constants):
- Fix SSDP UPnP constant imports (#8)

Bump version to 1.5.6.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.5

Toggle v1.5.5's commit message
fix: move brand icon to correct path (brand/ instead of icons/)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.4

Toggle v1.5.4's commit message
fix: preserve CEC device labels on older TVs with v1.0 API fallback

The v1.5.3 fix for HDMI inputs on the KD-49X8005C broadened the v1.0
fallback in get_external_inputs(), but v1.0 omits the label field that
carries CEC device names (e.g. "PlayStation"). Once v1.0 data was
fetched, labels were permanently lost from the cache.

Now the coordinator merges previously cached labels into new external
input data when the current fetch lacks them. Also adds a v1.5→v1.2
version fallback for getContentList to improve CEC discovery on older TVs.

Bump version to 1.5.4.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.3

Toggle v1.5.3's commit message
fix: HDMI inputs disappearing on older/non-Pro TVs (KD-49X8005C)

Older TVs that don't support CEC or API v1.5 could return non-JSON
responses or unexpected error codes that crashed the entire update
cycle, leaving coordinator.data as None and the source list empty.

- Catch ValueError (json.JSONDecodeError) in _request for non-JSON responses
- Widen get_external_inputs v1.1→v1.0 fallback to catch all BraviaError types
- Catch Exception for CEC discovery so it never breaks the update cycle
- Add isinstance(dict) guards in _build_source_map for malformed responses
- Bump version to 1.5.3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

v1.5.2

Toggle v1.5.2's commit message
chore: bump version to 1.5.2

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>