[TC-FAN] Clarify FanControl and OnOff cluster integration behavior
@jtrejoespinoza-grid ci sta già lavorando.
Dal 6/5/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Summary Title:
[TC-FAN] Clarify FanControl and OnOff cluster integration behavior (Contradiction between TC-FAN-4.1 and TC-FAN-3.5)
Description:
There is a contradiction in the test plan regarding how the FanControl cluster is expected to interact with the OnOff cluster. The spec states that a product may use the On/Off cluster as a "Master" switch, but it does not mandate this behavior. Currently, our test scripts have conflicting expectations:
- TC-FAN-4.1 assumes the OnOff cluster acts as a strict master switch. In step 11, it sends an
Offcommand to the On/Off cluster. In step 16, it writesPercentSettingto1and verifies thatPercentCurrentremains0(meaning the fan does not spin because the master switch was turned off). - TC-FAN-3.5 assumes the opposite default behavior. It immediately writes a value to
PercentSettingand expectsPercentCurrentto change, even though the device's OnOff cluster should technically beOffby default upon initialization.
Current Workaround:
To allow both tests to pass in our implementation, we had to introduce a conditional workaround: If the device is in its initial default Off state, writing to the fan settings will successfully turn the fan on (satisfying TC-FAN-3.5). However, if an explicit Off command was sent by the user/test (as in TC-FAN-4.1), writing to the fan settings will not turn it on.
This is a hack to bypass the conflicting test requirements. We are opening this issue to get clarification on the intended spec behavior so we can standardise the implementation and remove this workaround.
Steps to reproduce:
- Run
TC-FAN-4.1and observe that an explicitOffcommand prevents aPercentSettingupdate from changingPercentCurrent. - Run
TC-FAN-3.5and observe that writing toPercentSettingdirectly after initialization (where the default state is implicitlyOff) successfully changesPercentCurrent. - Note the conflicting assumptions about the OnOff cluster's "master switch" status between the two tests.
Logs:
N/A - This issue is a request for clarification on spec behavior and conflicting test plan requirements.
Additional Info:
- Sergio's PR Note: "The test plan assumes if the on/off cluster integration exists, the behavior is to obey on/off as the 'Master' switch to spin the fan. I think the spec says the product 'May' use the on/off in this way but doesn't mandate... let's follow whatever the test plan verifies for now and open an issue to clarify this behavior."
- Lingua principale
- Python
- Stelle
- 19
- Fork
- 7
- Merge medio
- 3g 4h
- PR unite (30g)
- 2
Preparare l'ambiente
Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di project-chip/matter-test-scripts
-
[TC-TSTAT-2.1] Yaml script has to be updated by adding the newly added steps as per the Test plan.Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
project-chip/matter-test-scripts#794 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Tutte le issue di project-chip/matter-test-scripts
Issue simili
-
customer-reported
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Azure/azure-cli#34150 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
community-request
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
NVIDIA-NeMo/Curator#2464 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
weblate-discover crashes with an unhandled FileNotFoundError when the directory does not existAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
WeblateOrg/translation-finder#1099 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
trezor/trezor-firmware#7997 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno