Releases: dn5qMDW3/petkit
Releases · dn5qMDW3/petkit
1.25.6
1.25.5
1.25.4
Changes
- Shared device support: Devices shared with your PetKit account are now discovered. Previously only owned devices were found, causing accounts with only shared devices to show zero entities.
- Uses forked pypetkitapi with
discovery/device_roster_v2fallback for shared devices.
1.25.3
1.25.2
1.25.1
Full Changelog: 1.25.0...1.25.1
1.25.0
PetKit Integration v1.25.0 — Best of Both Worlds
Built on the excellent architecture from Jezza34000/homeassistant_petkit with comprehensive code quality improvements.
Architecture
- Descriptor-based entity pattern — auto-detection via
is_supported(), ~70% less boilerplate - 3 coordinators — data (smart polling), media (camera images), bluetooth (BLE relay)
- MQTT real-time events — near-instant state updates via Aliyun IoT broker
- Camera/WebRTC streaming — Agora SDK, go2rtc, WHEP mirror
- 11 platforms — sensor, binary_sensor, switch, button, number, select, fan, light, text, image, camera
- 25+ device types — D3/D4/D4H/D4S/D4SH feeders, T3-T7 litter boxes, W5/CTW3 fountains, K2/K3 purifiers
Code Quality Fixes (15 issues resolved)
- Fix: Critical typo
curent_devices→current_devicesin coordinator - Fix: 40+ f-string LOGGER calls → lazy
%sformat (performance) - Fix: 4 broad
except Exception:→ specific exception types in MQTT - Fix: Missing
homeassistantmin version in manifest.json - Fix: Switch
turn_on/turn_offNone guard added - Fix: Bare
except AttributeError: pass→ explicithasattr()guards - Fix: Duplicate
device_info→ shared_build_device_info()helper - Fix: Full type hints on all coordinator
__init__parameters
Ported from our previous integration
- Config entry migration (v1-6 → v7)
- Litter events module
- SSL CA documentation (Xcc Trust chain)
Install via HACS
- HACS → ⋯ → Custom repositories
- Add:
https://github.com/dn5qMDW3/petkit - Category: Integration → Add → Download → Restart HA