Skip to content

Commit 1297497

Browse files
committed
CHAD-17152: Lazy loading of matter-appliance sub-drivers
1 parent bb70244 commit 1297497

File tree

58 files changed

+386
-469
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+386
-469
lines changed

drivers/SmartThings/matter-appliance/src/ActivatedCarbonFilterMonitoring/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
4+
15
local cluster_base = require "st.matter.cluster_base"
26
local ActivatedCarbonFilterMonitoringServerAttributes = require "ActivatedCarbonFilterMonitoring.server.attributes"
37
local ActivatedCarbonFilterMonitoringTypes = require "ActivatedCarbonFilterMonitoring.types"

drivers/SmartThings/matter-appliance/src/ActivatedCarbonFilterMonitoring/server/attributes/AttributeList.lua

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
-- Copyright 2024 SmartThings
2-
--
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
--
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
--
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
1+
-- Copyright 2024 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
144

155
-- DO NOT EDIT: this code is automatically generated by ZCL Advanced Platform generator.
166

@@ -123,4 +113,3 @@ end
123113

124114
setmetatable(AttributeList, {__call = AttributeList.new_value, __index = AttributeList.base_type})
125115
return AttributeList
126-

drivers/SmartThings/matter-appliance/src/ActivatedCarbonFilterMonitoring/server/attributes/ChangeIndication.lua

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
-- Copyright 2024 SmartThings
2-
--
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
--
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
--
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
1+
-- Copyright 2024 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
144

155
-- DO NOT EDIT: this code is automatically generated by ZCL Advanced Platform generator.
166

@@ -113,4 +103,3 @@ end
113103

114104
setmetatable(ChangeIndication, {__call = ChangeIndication.new_value, __index = ChangeIndication.base_type})
115105
return ChangeIndication
116-

drivers/SmartThings/matter-appliance/src/ActivatedCarbonFilterMonitoring/types/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
14
local types_mt = {}
25
types_mt.__types_cache = {}
36
types_mt.__index = function(self, key)

drivers/SmartThings/matter-appliance/src/DishwasherAlarm/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
4+
15
local cluster_base = require "st.matter.cluster_base"
26
local DishwasherAlarmServerAttributes = require "DishwasherAlarm.server.attributes"
37
local DishwasherAlarmTypes = require "DishwasherAlarm.types"

drivers/SmartThings/matter-appliance/src/DishwasherAlarm/types/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
14
local types_mt = {}
25
types_mt.__types_cache = {}
36
types_mt.__index = function(self, key)

drivers/SmartThings/matter-appliance/src/DishwasherMode/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
4+
15
local cluster_base = require "st.matter.cluster_base"
26
local DishwasherModeServerAttributes = require "DishwasherMode.server.attributes"
37
local DishwasherModeServerCommands = require "DishwasherMode.server.commands"

drivers/SmartThings/matter-appliance/src/DishwasherMode/types/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
14
local types_mt = {}
25
types_mt.__types_cache = {}
36
types_mt.__index = function(self, key)

drivers/SmartThings/matter-appliance/src/HepaFilterMonitoring/init.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
-- Copyright 2025 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
4+
15
local cluster_base = require "st.matter.cluster_base"
26
local HepaFilterMonitoringServerAttributes = require "HepaFilterMonitoring.server.attributes"
37
local HepaFilterMonitoringTypes = require "HepaFilterMonitoring.types"

drivers/SmartThings/matter-appliance/src/HepaFilterMonitoring/server/attributes/AttributeList.lua

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
1-
-- Copyright 2024 SmartThings
2-
--
3-
-- Licensed under the Apache License, Version 2.0 (the "License");
4-
-- you may not use this file except in compliance with the License.
5-
-- You may obtain a copy of the License at
6-
--
7-
-- http://www.apache.org/licenses/LICENSE-2.0
8-
--
9-
-- Unless required by applicable law or agreed to in writing, software
10-
-- distributed under the License is distributed on an "AS IS" BASIS,
11-
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12-
-- See the License for the specific language governing permissions and
13-
-- limitations under the License.
1+
-- Copyright 2024 SmartThings, Inc.
2+
-- Licensed under the Apache License, Version 2.0
3+
144

155
-- DO NOT EDIT: this code is automatically generated by ZCL Advanced Platform generator.
166

@@ -123,4 +113,3 @@ end
123113

124114
setmetatable(AttributeList, {__call = AttributeList.new_value, __index = AttributeList.base_type})
125115
return AttributeList
126-

0 commit comments

Comments
 (0)