github 3dg1luk43/ha_creality_ws v0.9.3

4 hours ago

[0.9.3] - 2026-05-20

List of issues (0.9.3)

Added

  • Active Filament Slot Sensor (#80):
    • Added a new sensor that reports the currently selected CFS source as Box X Slot Y or External.
    • Exposes extra active-filament metadata when available, including filament/vendor name, color, and remaining percentage.

Changed

  • WebRTC Stream Provisioning:
    • Updated go2rtc stream configuration for K2/WebRTC cameras to use the standard webrtc: source format for improved compatibility with newer go2rtc versions.
    • Hardened stream lifecycle handling so stream names are reused more predictably across retries and recovery paths.
    • Existing go2rtc streams are now validated against the expected source and recreated when stale or mismatched.
  • Lovelace Card Styling (#73):
    • Refined CFS card layout, spacing, and Home Assistant theme inheritance for better visual consistency.
    • Added dynamic card sizing/layout reporting for the CFS card to improve dashboard placement, especially in compact mode.

Fixed

  • Manual Reconnect Reliability (#81):
    • Fixed reconnect flow issues where manual reconnect attempts could fail to restore the WebSocket connection.
  • Power-Off Reconnect Noise (#84):
    • Suppressed repeated mDNS fallback warning spam when a configured power switch reports the printer is intentionally off.
    • Cleaned up reconnect logging so fallback behavior remains visible without producing noisy or misleading warnings.
  • WebRTC Error Recovery:
    • Improved recovery after go2rtc/WebRTC offer failures by invalidating bad streams and forcing reconfiguration on the next attempt.
    • Fixed cleanup paths so stream recreation remains possible even when deleting the old stream fails.
    • Fixed state handling during stream setup so cancellations or exceptions do not leave the camera marked as configured prematurely.
    • Improved error messages around WebRTC offer forwarding and stream management to make diagnostics more actionable.
  • go2rtc Stream Consistency:
    • Fixed cases where an existing go2rtc stream could be reused even though it pointed at an outdated or incorrect source.
    • Existing streams are now recreated when their configured source does not match the printer's expected upstream signaling URL.
  • Printer Card Mobile Layout (#72):
    • Fixed action chips and telemetry pills being cropped on smaller screens by allowing them to wrap correctly.
  • CFS Card Theme Compatibility (#77):
    • Fixed spool/ring rendering on certain Home Assistant themes where the card could appear white or visually inconsistent.
    • Improved transparency and masking behavior so the CFS card better matches themed card backgrounds.
  • CFS Data Handling:
    • Improved CFS slot/box handling and sensor registration robustness, including cleaner box ID handling and late-entity creation behavior.

Testing

  • Regression Coverage (#82):
    • Added focused tests for WebSocket reconnect behavior, WebRTC error recovery, stream configuration, and previously reported WebRTC failure scenarios.
    • Updated async test setup to improve reliability and remove older pytest configuration issues.

New Contributors

Don't miss a new ha_creality_ws release

NewReleases is sending notifications on new releases.