Releases: henniiiing/zAI-HA-Agent
v1.2.0
What's New
Memory Viewer in Options Flow
The integration's options dialog now shows a menu with three choices instead of jumping directly to configuration:
- Configure — The existing configuration form (personality, memory toggle, prompt, etc.)
- View Memory — Read-only summary showing stored preferences, notes, context, and interaction stats
- Clear Memory — Permanently delete all stored memory with a confirmation checkbox
This makes it easy to inspect what the assistant has learned and start fresh without manually editing JSON files.
Changes
- Replaced single-step options flow with a menu (
async_show_menu) - Added
async_step_view_memory— displaysbuild_memory_prompt()output via description placeholder - Added
async_step_clear_memory— confirmation form that callsmemory.async_clear() - Updated
strings.jsonandtranslations/en.jsonwith new step labels - Updated README with memory viewer documentation
- Version bump to 1.2.0
Full Changelog: v1.1.2...v1.2.0
v1.1.2
What's Fixed
🖼️ Brand Images for All Variants
Added all required brand image variants so HA can serve icons and logos in both light and dark mode at all resolutions:
Added to custom_components/zai_ha_agent/brand/ (HA 2026.3+ local):
icon.png(256x256) /icon@2x.png(512x512)dark_icon.png/dark_icon@2x.pnglogo.png/logo@2x.pngdark_logo.png/dark_logo@2x.png
Updated root brand/ (HACS):
- Added
icon@2x.png - Fixed
logo.pngto sRGB format
Fixes "icon not available" for dark_icon@2x.png and other missing variants.
Full Changelog: v1.1.1...v1.1.2
v1.1.1
What's Fixed
🖼️ Icon Fix
- Converted icons from 8-bit grayscale to sRGB RGBA format for proper display in HACS and Home Assistant
- Resized icons to 512x512 (HACS recommended size)
- Fixes "icon not available" issue in both HACS store listing and HA device page
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
🇩🇪 German as Default Language
Converted the entire system prompt, device context, memory, and UI from Italian to German as the default language.
- Language auto-detection: Responds in German by default, automatically switches to the user's language
- Umlaute fix: Explicit rule to always use proper ä, ö, ü, ß — never transliterated to ae, oe, ue, ss
- System prompts, personality templates, and tool examples rewritten in German
- Device state translations (EINGESCHALTET, GESCHLOSSEN, HEIZUNG, KÜHLUNG, etc.)
- Attribute labels converted (Helligkeit, Temperatur, Luftfeuchtigkeit, etc.)
- Memory section headers converted (Benutzerinformationen, Benutzereinstellungen, Notizen)
- Added German memory detection patterns (merken, bevorzug, nicht vergessen, etc.)
- Personality dropdown labels updated (Formell, Freundlich, Kurz)
Full Changelog: v1.0.1...v1.1.0
v1.0.1 - Bugfix
Fixes
- Preserve init options (personality, memory, prompt, etc.) when switching to advanced settings
Upgrade
Update via HACS or re-download the integration.
v1.0.0 - Initial Release
Initial release of zAI HA Agent.
What's New
- Uses z.ai Coding Plan API (OpenAI-compatible endpoint) with GLM-5.1
- Native function calling for Home Assistant device control
- Persistent memory across sessions
- Configurable personalities (Formal / Friendly / Concise)
- Automatic device context grouped by area
- HACS-compatible
Installation
Add https://github.com/henniiiing/zAI-HA-Agent as a custom HACS repository.