Releases: rrwood/HA_BGSmart_LocalCtl
Release v1.1.1
Release v1.0.5
fixing errors seen in HA logs
v1.0.1
- Lazy Protobuf Loading
Changed from importing protobuf at module load time to lazy loading
Protobuf is now only imported when first actually used
Uses _get_protobuf() function that caches the import
- Import Location
Moved from .esp_local_control import ESPLocalDevice inside async_setup_entry()
This is a lazy import that happens during setup, not module load
Prevents blocking the main event loop during Home Assistant startup
Why This Fixes the Warning:
The warning occurred because:
Home Assistant was loading all integrations during startup
Protobuf imports are heavy (lots of code generation)
This was blocking the async event loop
Home Assistant's new detection caught this
Now:
✅ Protobuf only loads when the integration is actually used
✅ No blocking during Home Assistant startup
✅ Better performance for users who have the integration installed but disabled
✅ Follows Home Assistant best practices
Final Working Version
v1.0.0 - Production Release
Features
- ✅ Full local control of BG Smart dimmers
- ✅ On/Off and brightness control (0-100%)
- ✅ Secure Sec1 encryption
- ✅ Auto-discovery of device name
- ✅ 30-second polling for state updates
Changes
- Simplified configuration (auto-detects security type)
- Pre-filled port (8080)
- Smart IP address suggestion
- Improved error messages
- Complete documentation
Installation
See INSTALLATION.md for detailed instructions.
Install via HACS custom repository: https://github.com/rrwood/HA_BGSmart_LocalCtl
Requirements
- Home Assistant 2024.1.0+
- BG Smart dimmer on local network
- PoP key from device label
working
Creating slider
v0.1.7 creating slider
Republish
Fix entities
v0.1.5 fix entities
Real Implementation
v0.1.4 remove stub
Removing Subs
v0.1.3 remove stubs