(Facoltativo) Specifica la durata in secondi per cui è impostato il timer.
string Intervallo: da "1s" a "43200s" Valore predefinito: "900s"
Errori
Per questo attributo potrebbero essere restituiti i seguenti codici di errore:
Messaggio di errore
RPC
Risoluzione dei problemi
Ventola del termostato non disponibile.
FAILED_PRECONDITION
Il termostato non dispone della funzionalità di ventilazione. Le caratteristiche e i comandi relativi al ventilatore non possono essere utilizzati per questo dispositivo.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-29 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esdm.devices.traits.Fan\u003c/code\u003e trait applies to devices with fan control capabilities, providing fields like \u003ccode\u003etimerMode\u003c/code\u003e and \u003ccode\u003etimerTimeout\u003c/code\u003e to manage the fan's timer settings.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve fan status using a GET request to the device's endpoint, which returns a JSON response containing the current \u003ccode\u003etimerMode\u003c/code\u003e and \u003ccode\u003etimerTimeout\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSetTimer\u003c/code\u003e command allows you to adjust the fan's timer by specifying the desired \u003ccode\u003etimerMode\u003c/code\u003e and an optional \u003ccode\u003eduration\u003c/code\u003e in seconds through a POST request.\u003c/p\u003e\n"],["\u003cp\u003ePotential errors, such as \u003ccode\u003eFAILED_PRECONDITION\u003c/code\u003e, may occur if the thermostat lacks fan capabilities, indicating that fan-related functionalities are unavailable for the device.\u003c/p\u003e\n"]]],["The `Fan` trait controls a device's fan. Key information includes the `timerMode` (ON/OFF) and `timerTimeout`, indicating when the mode will switch OFF. A GET request retrieves the current fan state. The `SetTimer` command, using a POST request, adjusts the `timerMode` and `duration` (optional, default 900s) within a range from 1s to 43200s. A potential `FAILED_PRECONDITION` error arises if the device lacks fan capability.\n"],null,[]]