Skip to content

v0.1.65 - Architecture Improvement

Choose a tag to compare

@EightEFI EightEFI released this 18 Nov 17:46
· 6 commits to main since this release

Code quality and maintainability improvements:

  • Moved WMO weather codes from hardcoded dictionaries to translation files
  • Removed ~206 lines of hardcoded data from sensor.py
  • Updated translate_wmo_code() to load codes from JSON
  • Better separation of data and code
  • Follows DRY principle
  • Easier to maintain and update translations