Back to Bottom

Temperature Table Configuration

docs/content/configuration/config-file/temperature-table.md

0.14.71.2 KB
Original Source

Temperature Table Configuration

The temperature table widget is configured under [temperature].

Default Sort Column

You can customize the default sort column (by default, it sorts by temperature sensor name in ascending order). For example, to sort by temperature:

toml
[temperature]
default_sort = "Temp"

You can also set the sort order by changing temperature.sort_order with "Ascending" or "Descending". Defaults to "Ascending":

toml
[temperature]
sort_order = "Ascending"

Filtering Entries

You can filter out what entries to show by configuring [temperature.sensor_filter]. In particular you can set a list of things to filter with by setting list, and configure how that list is processed with the other options.

For example, here we are ignoring any sensor that has "cpu" or "wifi" in it.

toml
[temperature.sensor_filter]
# Whether to ignore any matches. Defaults to true.
is_list_ignored = true

# A list of filters to try and match.
list = ["cpu", "wifi"]

# Whether to use regex. Defaults to false.
regex = false

# Whether to be case-sensitive. Defaults to false.
case_sensitive = false

# Whether to require matching the whole word. Defaults to false.
whole_word = false