Skip to content

Commit c5ec123

Browse files
committed
fix: Tuya RB-SRAIN01: add illuminance_raw unit Koenkk/zigbee2mqtt#30439
1 parent fd9e2fe commit c5ec123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/devices/tuya.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3453,7 +3453,7 @@ export const definitions: DefinitionWithExtend[] = [
34533453
fromZigbee: [tuya.fz.datapoints],
34543454
extend: [m.iasZoneAlarm({zoneType: "rain", zoneAttributes: ["alarm_1"]}), m.battery({percentageReporting: true})],
34553455
exposes: [
3456-
e.illuminance_raw(),
3456+
e.illuminance_raw().withUnit("mV"),
34573457
e.numeric("illuminance_average_20min", ea.STATE).withUnit("mV").withDescription("Illuminance average for the last 20 minutes"),
34583458
e.numeric("illuminance_maximum_today", ea.STATE).withUnit("mV").withDescription("Illuminance maximum for the last 24 hours"),
34593459
e.binary("cleaning_reminder", ea.STATE, true, false).withDescription("Cleaning reminder"),

0 commit comments

Comments
 (0)