mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 07:54:54 +00:00
Refactor device names in scene operations data helper
This commit is contained in:
@ -841,7 +841,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 1 Switch',
|
'L - Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -853,7 +853,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.twoGang,
|
Assets.twoGang,
|
||||||
'Light 1 Switch',
|
'L - Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -865,7 +865,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.oneGang,
|
Assets.oneGang,
|
||||||
'Light 1 Switch',
|
'Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -895,7 +895,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 2 Switch',
|
'M - Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -907,7 +907,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.twoGang,
|
Assets.twoGang,
|
||||||
'Light 2 Switch',
|
'R - Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -935,7 +935,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 3 Switch',
|
'R - Light Switch',
|
||||||
OperationDialogType.onOff,
|
OperationDialogType.onOff,
|
||||||
_createOnOffOptions(),
|
_createOnOffOptions(),
|
||||||
isAutomation,
|
isAutomation,
|
||||||
@ -952,7 +952,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 1 CountDown',
|
'L - Light CountDown',
|
||||||
isAutomation
|
isAutomation
|
||||||
? OperationDialogType.integerSteps
|
? OperationDialogType.integerSteps
|
||||||
: OperationDialogType.countdown,
|
: OperationDialogType.countdown,
|
||||||
@ -968,7 +968,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.twoGang,
|
Assets.twoGang,
|
||||||
'Light 1 CountDown',
|
'L - Light CountDown',
|
||||||
isAutomation
|
isAutomation
|
||||||
? OperationDialogType.integerSteps
|
? OperationDialogType.integerSteps
|
||||||
: OperationDialogType.countdown,
|
: OperationDialogType.countdown,
|
||||||
@ -1006,7 +1006,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 2 CountDown',
|
'M - Light CountDown',
|
||||||
isAutomation
|
isAutomation
|
||||||
? OperationDialogType.integerSteps
|
? OperationDialogType.integerSteps
|
||||||
: OperationDialogType.countdown,
|
: OperationDialogType.countdown,
|
||||||
@ -1022,7 +1022,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.twoGang,
|
Assets.twoGang,
|
||||||
'Light 2 CountDown',
|
'R - Light CountDown',
|
||||||
isAutomation
|
isAutomation
|
||||||
? OperationDialogType.integerSteps
|
? OperationDialogType.integerSteps
|
||||||
: OperationDialogType.countdown,
|
: OperationDialogType.countdown,
|
||||||
@ -1058,7 +1058,7 @@ mixin SceneOperationsDataHelper {
|
|||||||
action,
|
action,
|
||||||
action.deviceName,
|
action.deviceName,
|
||||||
Assets.assetsIcons3GangSwitch,
|
Assets.assetsIcons3GangSwitch,
|
||||||
'Light 3 CountDown',
|
'R - Light CountDown',
|
||||||
isAutomation
|
isAutomation
|
||||||
? OperationDialogType.integerSteps
|
? OperationDialogType.integerSteps
|
||||||
: OperationDialogType.countdown,
|
: OperationDialogType.countdown,
|
||||||
|
|||||||
Reference in New Issue
Block a user