Skip to content

Commit cb2a0b0

Browse files
authored
fix: Hint for required firmware for auto close valve in SONOFF SWV (#8002)
* Add hint for firmware version * move hint to the top * Aligned with other hints from other devices -> at the end * fix prettier error * again prettier
1 parent 09c745c commit cb2a0b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/devices/sonoff.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -1152,7 +1152,8 @@ const definitions: DefinitionWithExtend[] = [
11521152
name: 'auto_close_when_water_shortage',
11531153
cluster: 'customClusterEwelink',
11541154
attribute: 'lackWaterCloseValveTimeout',
1155-
description: 'Automatically shut down the water valve after the water shortage exceeds 30 minutes.',
1155+
description:
1156+
'Automatically shut down the water valve after the water shortage exceeds 30 minutes. Requires firmware version 1.0.4 or later!',
11561157
valueOff: ['DISABLE', 0],
11571158
valueOn: ['ENABLE', 30],
11581159
}),

0 commit comments

Comments
 (0)