- Feature
- Add RGB raw value properties for Env module v2.x+
- New properties:
raw_red,raw_green,raw_blue,raw_white(0-65535) - New property:
raw_rgbtuple (raw_red, raw_green, raw_blue, raw_white)
- New properties:
- Add
set_rgb_mode(mode, duration)method for Env module- RGB mode constants:
RGB_MODE_AMBIENT,RGB_MODE_ON,RGB_MODE_DUALSHOT
- RGB mode constants:
- Code style fixes for flake8 compatibility
- Feature
- Add RGB support for Env module v2.x+
- New properties:
red,green,blue,white,black(0-100%) - New property:
rgb- returns tuple (red, green, blue) - New property:
color_class(0-5: unknown/red/green/blue/white/black) - New property:
brightness(0-100%) - Automatic version detection via
_is_rgb_supported()method - Raises
AttributeErrorwhen accessing RGB properties on v1.x modules
- New properties:
- Enhanced GitHub Actions workflows
- Support Python 3.8-3.13 across all platforms
- Platform-specific compatibility fixes (macOS, Windows)
- Improved CI/CD with conditional linting (flake8 for 3.8-3.11, ruff for 3.12+)
- Tests
- Add 31 new RGB-related tests
- Version compatibility tests
- RGB property tests
- Data type validation tests
- Total: 94 tests (all passing)
- Documentation
- Complete RGB feature documentation
- GitHub Actions compatibility guides
- Branch protection setup guide
- Feature
- Add
draw_dotfunction on display module
- Patch
- Fix
write_textfunction error on display module if text length is 23 - Change module constructor argument from uuid to id
- Patch
- Refactor
write_textinput type on display module
- Feature
- Refactor getter/setter for each MODI+ module
- Feature
- Change python minimum version to 3.7
- Feature
- Add creation examples (brush, dodge)
- Add network, battery module functions
- Fix
play_musicfunction on speaker module - Add preset resource on speaker and display module
- Add search module time and timeout exception
- Feature
- Change python minimum version to 3.9
- Release initial version of the package on in-house GitHub