mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 18:44:54 +00:00
Implement Flush Mounted Presence Sensor Routine Control and change the device type logic
This commit is contained in:
@ -7,6 +7,7 @@ class GatewayHelperFunctions {
|
||||
String deviceId, String deviceName, functionValue) {
|
||||
return [
|
||||
SceneStaticFunction(
|
||||
deviceType: 'GW',
|
||||
deviceId: deviceId,
|
||||
deviceName: deviceName,
|
||||
icon: Assets.assetsSwitchAlarmSound,
|
||||
@ -22,6 +23,7 @@ class GatewayHelperFunctions {
|
||||
],
|
||||
),
|
||||
SceneStaticFunction(
|
||||
deviceType: 'GW',
|
||||
deviceId: deviceId,
|
||||
deviceName: deviceName,
|
||||
icon: Assets.assetsMasterState,
|
||||
@ -43,6 +45,7 @@ class GatewayHelperFunctions {
|
||||
],
|
||||
),
|
||||
SceneStaticFunction(
|
||||
deviceType: 'GW',
|
||||
deviceId: deviceId,
|
||||
deviceName: deviceName,
|
||||
icon: Assets.assetsFactoryReset,
|
||||
|
||||
Reference in New Issue
Block a user