This major release adds support for Mihomo cores, websocket, new statistics sensors and control entities. It also addresses some perfomance issues and includes various bug fixes.
⚠ Breaking Changes
- Newer cores added support to pin a proxy within a URLTest group. These groups will now be exposed as
selectinstead ofsensoron compatible cores. You may need to match new entity IDs for these groups. - Previously, when functions were unavailable on certain cores, the corresponding entities were created with unknown or unavailable statuses. After this update, those entities will no longer be created.
New features
- Expose URLTest groups as select entities to pin a node (entity attribute
fixedcontains a boolean indicating whether a pin is present; use actionclash_controller.get_latency_serviceon the same group to clear it). - Add proxy mode select (
rule/direct/global/script, only supported modes will be displayed). - Add DNS cache flush button.
- Add healthcheck buttons for each group (disabled by default).
- Add proxy/rule provider count sensors.
- Add more robust core capability detection.
- Add websocket-first polling with HTTP fallback for supported streams.
Fixes
- URL-encode group/node/provider names in API paths to prevent failures with special characters.
- Allow device and entitiy translations to be properly displayed.
- Avoid skipping capability detection when cached capabilities are an empty dict.
- Persist detected capabilities/endpoints only after a successful first refresh to avoid poisoning cache on transient failures.
- Misc refactors and fixes...
Full Changelog: v0.1.6.1...v0.2.1