ExtendedThermostatTrait.PresetSynonyms

class ExtendedThermostatTrait.PresetSynonyms


Synonyms for the preset in a given language.

Summary

Public constructors

PresetSynonyms(language: String, synonyms: List<String>)

Creates the PresetSynonyms class.

Public properties

String

ISO 639-1 language code, for example, en for English.

List<String>

Synonym of the preset, with the first string in this list being used as the canonical name of the preset in the given language.

Public constructors

PresetSynonyms

PresetSynonyms(language: String = "", synonyms: List<String> = emptyList())

Creates the PresetSynonyms class.

Public properties

language

val languageString

ISO 639-1 language code, for example, en for English.

synonyms

val synonymsList<String>

Synonym of the preset, with the first string in this list being used as the canonical name of the preset in the given language.