v0.34.1-beta.7
Pre-release
Pre-release
custom_components/hass_dyson/image.py
- Dust map (v2 path): Replaced the dead S3 binary detective path
(_fetch_v2_dust_map_bytes+ zlib magic-byte sniffing) with a call to
client.get_map_image(serial, clean_id)from libdyson-rest v0.15.0b5.
The RB05 dust map now renders via the Dyson Map Visualizer API. - Floor plan (v2 path): When
presentation_map_datais empty (as it
always is for the RB05 from the v1 persistent-maps endpoint), the code now
falls back to_fetch_map_image(coordinator, pmap_id)— the Map Visualizer
renders the floor plan server-side. Previously this path returnedNone. - Added
_fetch_map_image(coordinator, map_id)helper with a 10-minute TTL
cache. Accepts either a clean session UUID (dust map) or a persistent map ID
(floor plan). - Removed the now-dead
_fetch_v2_dust_map_byteshelper. - Removed the unused
async_get_clientsessionimport. - Updated module docstring to describe the v1/v2 rendering strategy.