Skip to content

Fix incorrect Home Assistant icon mappings#122

Open
truffshuff wants to merge 9 commits intojeeftor:masterfrom
truffshuff:fix/correct-ha-icon-mappings
Open

Fix incorrect Home Assistant icon mappings#122
truffshuff wants to merge 9 commits intojeeftor:masterfrom
truffshuff:fix/correct-ha-icon-mappings

Conversation

@truffshuff
Copy link
Copy Markdown

  • Changed POSSIBLY_RAINY_DAY/NIGHT from 'pouring' to 'rainy' to correctly represent low probability rain
  • Changed POSSIBLY_SLEET_DAY/NIGHT from 'hail' to 'snowy-rainy' for mixed precipitation
  • Changed SLEET from 'hail' to 'snowy-rainy' to match Home Assistant standards
  • Changed THUNDERSTORM from 'lightning' to 'lightning-rainy' for consistency
  • Changed WINDY from 'windy-variant' to 'windy' (standard HA condition)

These changes align with the official WeatherFlow Cloud API documentation. Fixes issue where forecasts with low rain probability (20%) were displaying as 'pouring' instead of 'rainy', causing confusion for users.

dependabot Bot and others added 9 commits August 15, 2025 12:32
Bumps [filelock](https://github.com/tox-dev/py-filelock) from 3.18.0 to 3.19.1.
- [Release notes](https://github.com/tox-dev/py-filelock/releases)
- [Changelog](https://github.com/tox-dev/filelock/blob/main/docs/changelog.rst)
- [Commits](tox-dev/filelock@3.18.0...3.19.1)

---
updated-dependencies:
- dependency-name: filelock
  dependency-version: 3.19.1
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [multidict](https://github.com/aio-libs/multidict) from 6.6.3 to 6.6.4.
- [Release notes](https://github.com/aio-libs/multidict/releases)
- [Changelog](https://github.com/aio-libs/multidict/blob/master/CHANGES.rst)
- [Commits](aio-libs/multidict@v6.6.3...v6.6.4)

---
updated-dependencies:
- dependency-name: multidict
  dependency-version: 6.6.4
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5 to 6.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [identify](https://github.com/pre-commit/identify) from 2.6.12 to 2.6.14.
- [Commits](pre-commit/identify@v2.6.12...v2.6.14)

---
updated-dependencies:
- dependency-name: identify
  dependency-version: 2.6.14
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.9.2 to 7.10.7.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.9.2...7.10.7)

---
updated-dependencies:
- dependency-name: coverage
  dependency-version: 7.10.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [mypy](https://github.com/python/mypy) from 1.16.1 to 1.18.2.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.16.1...v1.18.2)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 1.18.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Per [1], observations from a new Tempest that has never detected
lightning might not have strike_last_dist and strike_last_epoch
properties in the websocket summary object. Improve the dataclass
definition to allow this, reducing the volume of warnings in the log.

[1] https://community.tempest.earth/t/bug-or-feature-missing-fields-in-websocket-air-summary-object/3695/2
The pressure_trend and precip_accum_local_yesterday_final have
also been omitted from the summary in Tempest observations from
new devices. Treat these as optional and update the test.
- Changed POSSIBLY_RAINY_DAY/NIGHT from 'pouring' to 'rainy' to correctly represent low probability rain
- Changed POSSIBLY_SLEET_DAY/NIGHT from 'hail' to 'snowy-rainy' for mixed precipitation
- Changed SLEET from 'hail' to 'snowy-rainy' to match Home Assistant standards
- Changed THUNDERSTORM from 'lightning' to 'lightning-rainy' for consistency
- Changed WINDY from 'windy-variant' to 'windy' (standard HA condition)

These changes align with the official WeatherFlow Cloud API documentation.
Fixes issue where forecasts with low rain probability (20%) were displaying
as 'pouring' instead of 'rainy', causing confusion for users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants