LineOS 1.0.9: Fahrenheit setting only reaches the Weather widget (Room Temp, SenseCube card, AC knob stay in Celsius)

The UltraWorkSpace “Temp Unit: Fahrenheit / Celsius” setting only changes the Weather widget. Every other temperature on the bar stays in Celsius, and there’s no setting for it. For US users the Room Temp card is the one we look at most, and it reads 22 instead of 72.

Checked on LineOS 1.0.9 (launcher 1.0.9) with a SenseCube. The Weather widget handles °F properly, so the setting and the code are already there. They just aren’t used anywhere else:

  1. Room Temp card (SenseCubeTempHolder): it shows the raw Celsius number, and the unit label is fixed in the layout (tvUnit is never set in code).
  2. SenseCube card (TemperatureView): onDraw draws a hard-coded "°C". Its colour bands are in Celsius, which is fine as long as they’re worked out before converting.
  3. Cool / Mild / Warm (TemperatureAlarm, also the SenseCube temperature trigger in automations): the thresholds are 20 °C and 26 °C, and neither the bar nor the Mac app shows them. Showing them as 68 °F / 79 °F would make the automation trigger clear.
  4. AC on the knob (AirConditioningDeviceController): the temperature range is fixed at 16–32, so a thermostat set in °F (for example from Home Assistant) would be capped at 32. The label is also still 温度. (From reading the code, I don’t have an AC connected to test.)
  5. Home Assistant temperature sensors (TemperatureSensorHolder): the sensor’s unit_of_measurement is stored but not shown, so the card shows a number with no unit.

Suggested fix: use the Weather widget’s Temp Unit setting (isUnitFahrenheit) everywhere the launcher shows a temperature, convert just before display (°F = °C × 1.8 + 32), and keep the colour and alarm logic in Celsius. That covers items 1–3 with a few lines each. Item 4 needs a °F range of about 60–90, and item 5 needs the stored unit added to the card’s label.

Happy to test a beta build.

Hi Xacto,

I’ve noted your request and will share it with the relevant team. Thank you for your valuable suggestion. It helps us better understand our users’ habits and continuously improve our products and services.

Thank you again!:partying_face::partying_face: