Skip to content

Releases: tuzkiyoung/treeow

v1.0.5

31 Jan 08:50
62a7530

Choose a tag to compare

✨ 新功能

  • 实现Fan实体: 支持风速百分比控制和预设模式

📝 其他改进

  • 文档更新: README 中更新了支持的Fan实体类型说明

v1.0.4

19 Jan 15:23

Choose a tag to compare

✨ 新功能

  • 轮询间隔配置: 添加了可配置的轮询间隔设置,用户可以自定义设备状态更新频率
  • 持久化缓存: 实现数字模型的持久化文件缓存机制,提高启动速度和减少 API 调用
  • 增强设备控制: 设备控制后立即进行状态轮询,确保状态同步更及时

🐛 Bug 修复

  • 修复实体 ID 生成,正确添加 treeow 前缀
  • 改进设备控制事件处理的错误处理和日志记录
  • 统一设备 ID 处理,确保在整个代码库中一致使用字符串类型

⚡ 性能优化

  • 获取设备方法采用并行处理,提升设备加载性能
  • 优化实体和设备处理逻辑,减少内存占用
  • Fan、Switch 和 Select 组件增加状态检查,避免发送冗余命令
  • 增强令牌管理和客户端初始化流程

🔧 重构改进

  • 简化配置流程,保存配置时自动触发集成重新加载
  • 实现 TreeowClient 版本初始化,增强应用和 iOS 版本管理
  • 优化事件管理机制,提升系统响应能力
  • 改进错误处理,提升系统稳定性

📝 其他改进

  • 清理调试日志,提升代码可读性

v1.0.3

08 Jan 14:47

Choose a tag to compare

✨ New Features

  • 甲醛 (HCHO) 传感器支持: 新增甲醛传感器数值转换功能,自动转换为 mg/m³ 单位

📚 Documentation

  • 更新 README,改进安装说明

v1.0.2

29 Dec 08:28
4fa7f7e

Choose a tag to compare

🐛 Bug Fixes

  • Fixed device removal failure when device not found scenario
  • Fixed device ID comparison to ensure type consistency in async_remove_config_entry_device

⚡ Performance & Optimization

  • Optimized header management in TreeowClient by caching authorization token
  • Cleaned up unused imports for better code maintainability
  • Refactored iOS version retrieval logic

🔧 Improvements

  • Improved logging for device comparison and debugging
  • Enhanced error handling in device operations

📝 Documentation

  • Updated device descriptions in README for clarity
  • Enhanced README documentation

Full Changelog: v1.0.1...v1.0.2

v1.0.1

08 Jul 17:29
ed7a403

Choose a tag to compare

What's Changed

optimize performance

Full Changelog: v1.0.0...v1.0.1

v1.0.0

05 Jul 16:59

Choose a tag to compare

Changelog

Added

  • Initial release of Treeow Home Assistant Integration
  • Support for T3 Air Purifier devices
  • Support for G2 Humidifier devices
  • Switch entities for on/off controls
  • Number entities for numeric settings
  • Select entities for mode selection
  • Sensor entities for status monitoring
  • Fan entities for air purifier controls
  • Device filtering capabilities
  • Entity filtering capabilities
  • Multi-language support (English/Chinese)
  • Automatic token refresh and recovery
  • Exponential backoff retry mechanisms
  • Configuration flow with UI setup
  • Options flow for advanced configuration
  • Real-time device status updates
  • Comprehensive error handling
  • Debug logging support

Features

  • Cloud API integration with Treeow Home
  • Automatic device discovery
  • Configurable polling intervals
  • Robust error recovery
  • Memory-optimized entity management
  • Cached API responses for performance

Technical

  • Hub integration type with cloud polling
  • Silver quality rating compliance
  • Home Assistant 2023.1.0+ compatibility
  • No external dependencies required
  • Comprehensive test coverage

For more details about changes, see the GitHub releases.