Skip to content

Debloat any Android or Google TV over Wi-Fi and get an Apple TV-style home.

addons/weather: document the unit options in the Options table

Justin Newman134780add4ac
diff --git a/addons/weather/README.md b/addons/weather/README.md
index d31df6e81..8a427f36a 100644
--- a/addons/weather/README.md
+++ b/addons/weather/README.md
@@ -16,11 +16,7 @@ sky-blue glow; on any other Android TV home it is an ordinary app.
"light rain" at 1 °C (ICON and GFS did, in a Ulaanbaatar blizzard). The app decides by the wet-bulb
temperature instead, which counts how dry the air is: at 1 °C or below, rain and drizzle are shown as snow.
- It reads Open-Meteo only while the page is on screen, every 30 minutes, or 5 minutes after a failure.
-- Degrees Celsius by default, English words; day names follow the TV's language. For Fahrenheit set
- `temperature_unit` to `f` in `app/src/main/res/values/options.xml` before building: the temperature now,
- feels-like and the days' highs and lows turn to °F, converted from the reading before rounding, and the wind to
- mph. `show_both_units` adds the temperature now in the other unit at the start of the "Feels like" line
- ("22°C · Feels like 70°").
+- Degrees Celsius by default (Fahrenheit is an option below), English words; day names follow the TV's language.
## Options
@@ -30,7 +26,9 @@ Set in `app/src/main/res/values/options.xml` before building. With the defaults
|---|---|---|
| `forecast_days` | `3` | Days in the forecast row after today, 3 to 7. Above 3 the day cards share the row, with short day names, so a week fits on screen. |
| `show_humidity` | `false` | The relative humidity now, after "Feels like". |
-| `show_wind` | `false` | The wind speed now in km/h, after "Feels like". |
+| `show_wind` | `false` | The wind speed now in km/h, after "Feels like" (mph with `temperature_unit` `f`). |
+| `temperature_unit` | `c` | `f` shows degrees Fahrenheit for the temperature now, feels-like and the days' highs and lows, converted from the reading before rounding. |
+| `show_both_units` | `false` | The temperature now in the other unit too, at the start of the "Feels like" line ("22°C · Feels like 70°"). |
![A week, with humidity and wind](https://raw.githubusercontent.com/majnioui/cleanyourtv-contrib/pr-assets/addon-weather-week/weather-options.png)