Bug in Weather Units for Broadcasted Notification (#3519)

This PR resolve Issue number #3419 .

I have added the method `convertWeatherObjectToImperial()` which
converts the units of the `notificationPayload` to imperial if needed,
in order to pass the object in `sendNotification()`.

---------

Co-authored-by: veeck <michael.veeck@nebenan.de>
This commit is contained in:
Panagiotis Skias
2024-08-18 11:04:51 +03:00
committed by GitHub
parent cc1d4ab240
commit 56736786fd
3 changed files with 45 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ _This release is scheduled to be released on 2024-10-01._
- Fixed `checks` badge in README.md
- [weather] Fixed issue with the UK Met Office provider following a change in their API paths and header info.
- [core] add check for node_helper loading for multiple instances of same module (#3502)
- [weather] Fixed issue for respecting unit config on broadcasted notifications
## [2.28.0] - 2024-07-01