From 2db8db243b645a0e81a24eada2601fb863810637 Mon Sep 17 00:00:00 2001 From: fliespl Date: Wed, 30 Aug 2023 08:49:44 +0200 Subject: [PATCH] fix: Fix middle volume value for TuYa YXZBSL (#6119) https://ss.codeone.pl/ss-2023-08-30-08-37-38-1693377458-wzo6EnTJ.png --- src/devices/tuya.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/tuya.ts b/src/devices/tuya.ts index e69b097273aae..5416afff2df62 100644 --- a/src/devices/tuya.ts +++ b/src/devices/tuya.ts @@ -5749,7 +5749,7 @@ const definitions: Definition[] = [ exposes: [ e.binary('alarm', ea.STATE_SET, 'ON', 'OFF').withDescription('Turn the light of the alarm ON/OFF'), e.enum('type', ea.STATE_SET, ['sound', 'light', 'sound+light', 'normal']).withDescription('Alarm type'), - e.enum('volume', ea.STATE_SET, ['mute', 'low', 'medium', 'high']).withDescription('Volume of the alarm'), + e.enum('volume', ea.STATE_SET, ['mute', 'low', 'middle', 'high']).withDescription('Volume of the alarm'), e.enum('ringtone', ea.STATE_SET, [ 'melody1', 'melody2', 'melody3', 'melody4', 'melody5', 'melody6', 'melody7', 'melody8', 'door', 'water', 'temperature', 'entered', 'left',