1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-04 12:02:06 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices
José Rebelo 81aef0bf35 Add support for multiple weather locations
Introduce the concept of primary and secondary weathers:

* Primary weather keeps the same behavior as previously across all weather providers, so it's non-breaking. This location is not necessarily the current location, just the primary weather location set by the user.
* The GenericWeatherReceiver now has a new extra WeatherSecondaryJson, that receives a json list with secondary weather locations.

It's guaranteed that the primary weather always exists, so the list of WeatherSpecs provided to devices is never empty. Update all support classes accordingly.
2024-03-29 21:10:40 +00:00
..
asteroidos Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
banglejs Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
binary_sensor Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
casio Add support for snooze alarm on CasioGBX100 devices 2024-01-14 20:29:30 +00:00
cmfwatchpro Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
common Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
divoom Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
domyos Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
femometer Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
fitpro Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
flipper/zero/support Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
galaxy_buds Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
hplus Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
huami Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
huawei Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
id115 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
itag Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
jyou Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
lefun Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
lenovo Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
liveview Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
makibeshr3 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miband Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
mijia_lywsd Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
miscale2 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
no1f1 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
nothing Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
nut Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
pebble Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
pinetime Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
qc35 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
qhybrid Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
roidmi Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
soflow Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
sony Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
sonyswr12 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
supercars Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
test Test Device: Fix NPE when using the database 2024-02-16 23:09:46 +00:00
tlw64 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
um25 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
unknown Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
vesc Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
vibratissimo Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
vivomovehr Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
waspos Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
watch9 Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
withingssteelhr Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
xiaomi Add support for multiple weather locations 2024-03-29 21:10:40 +00:00
xwatch Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
zetime Add support for multiple weather locations 2024-03-29 21:10:40 +00:00