Expand description
Reusable widget components for the TUI.
This module provides helper functions for creating styled widget components used throughout the terminal user interface.
Functionsยง
- co2_
trend - Calculate trend for CO2 readings.
- convert_
radon_ for_ device - Convert radon value for display based on device settings.
- format_
radon_ for_ device - Format radon value based on device settings.
- format_
temp_ for_ device - Format temperature value based on device settings.
- radon_
unit_ for_ device - Get the radon unit string based on device settings.
- resample_
sparkline_ data - Resample sparkline data to fit a target width.
- sparkline_
data - Extracts primary sensor values from history records for use in a sparkline widget.
- trend_
indicator - Calculate trend indicator based on current and previous values. Returns (arrow character, color) tuple.