What's Changed
🔧 Developer Experience
- Migrated linting from pylint to Ruff — Ruff is ~100x faster, catches more issues, and unifies the linting experience across CI and local development. The CI workflow, VS Code settings, and contributor docs have all been updated. (#631)
- Added VS Code extension recommendations — New contributors are automatically prompted to install the Ruff extension and disable the Pylint extension via
.vscode/extensions.json. (#632) - Formatted entire codebase with
ruff format— Stripped trailing whitespace, normalized quote style, and applied consistent formatting across all 99 Python files. (#633)
🐛 Bug Fixes (from Ruff migration)
- Fixed
not x in→x not inmembership test in sensor entity filtering - Fixed
is "string"→== "string"identity comparisons in tests (8 instances) - Fixed
== bool→is booltype comparison in config flow tests - Fixed import ordering in
const.py
⚙️ Entity Naming & Sensor Fixes
- Fixed switch/number/select entity naming to use HA translation keys instead of duplicating device names
- Added missing translation strings (
fog_level,sleep_target_humidity,rgb_indicator) - Fixed ambient light humidifier sensor to properly map raw values to ENUM options
Full Changelog: v1.7.11...v1.8.0