From 8a0a2768721f50f8c521c130f3c3939ed760830d Mon Sep 17 00:00:00 2001 From: vincentBesseau <33568805+vincentBesseau@users.noreply.github.com> Date: Sun, 14 Aug 2022 11:33:21 +0200 Subject: [PATCH 1/2] Update opening sensor icon --- .../device-features/sensor-value/IconBinaryDeviceValue.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/front/src/components/boxs/device-in-room/device-features/sensor-value/IconBinaryDeviceValue.jsx b/front/src/components/boxs/device-in-room/device-features/sensor-value/IconBinaryDeviceValue.jsx index aa738ba9c6..c4229aaa9d 100644 --- a/front/src/components/boxs/device-in-room/device-features/sensor-value/IconBinaryDeviceValue.jsx +++ b/front/src/components/boxs/device-in-room/device-features/sensor-value/IconBinaryDeviceValue.jsx @@ -4,8 +4,8 @@ import { DEVICE_FEATURE_CATEGORIES } from '../../../../../../../server/utils/con const ICON_MAP = { [DEVICE_FEATURE_CATEGORIES.OPENING_SENSOR]: { - 0: 'shield-off', - 1: 'shield' + 0: 'unlock', + 1: 'lock' } }; From ac58e6a14cc50e645e1f2306ee59ad23e0cc463e Mon Sep 17 00:00:00 2001 From: vincentBesseau <33568805+vincentBesseau@users.noreply.github.com> Date: Sun, 14 Aug 2022 11:44:29 +0200 Subject: [PATCH 2/2] Change left icon to information icon --- front/src/utils/consts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/utils/consts.js b/front/src/utils/consts.js index 3d4adccf63..3006eef786 100644 --- a/front/src/utils/consts.js +++ b/front/src/utils/consts.js @@ -196,7 +196,7 @@ export const DeviceFeatureCategoriesIcon = { [DEVICE_FEATURE_TYPES.ACCESS_CONTROL.MODE]: 'lock' }, [DEVICE_FEATURE_CATEGORIES.OPENING_SENSOR]: { - [DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'lock' + [DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'info' }, [DEVICE_FEATURE_CATEGORIES.LEAK_SENSOR]: { [DEVICE_FEATURE_TYPES.SENSOR.BINARY]: 'droplet'