@@ -180,7 +180,7 @@ struct Preferences {
180
180
181
181
// Upgrade with any new domains
182
182
if !domainExists( domain: " scene " , prefs: decodedResponse) {
183
- decodedResponse. append ( PrefMenuItem ( entityId: " scene " , itemType: itemTypes. Domain, subMenu: false , enabled: domainScenes, friendlyName: " Scenes " ) )
183
+ decodedResponse. append ( PrefMenuItem ( entityId: " scene " , itemType: itemTypes. Domain, subMenu: true , enabled: domainScenes, friendlyName: " Scenes " ) )
184
184
}
185
185
186
186
return decodedResponse
@@ -193,17 +193,17 @@ struct Preferences {
193
193
194
194
if jsonString. isEmpty {
195
195
// Init Domains
196
- decodedResponse. append ( PrefMenuItem ( entityId: " light " , itemType: itemTypes. Domain, subMenu: false , enabled: domainLights, friendlyName: " Lights " ) )
196
+ decodedResponse. append ( PrefMenuItem ( entityId: " light " , itemType: itemTypes. Domain, subMenu: true , enabled: domainLights, friendlyName: " Lights " ) )
197
197
198
- decodedResponse. append ( PrefMenuItem ( entityId: " switch " , itemType: itemTypes. Domain, subMenu: false , enabled: domainSwitches, friendlyName: " Switches " ) )
198
+ decodedResponse. append ( PrefMenuItem ( entityId: " switch " , itemType: itemTypes. Domain, subMenu: true , enabled: domainSwitches, friendlyName: " Switches " ) )
199
199
200
- decodedResponse. append ( PrefMenuItem ( entityId: " automation " , itemType: itemTypes. Domain, subMenu: false , enabled: domainAutomations, friendlyName: " Automations " ) )
200
+ decodedResponse. append ( PrefMenuItem ( entityId: " automation " , itemType: itemTypes. Domain, subMenu: true , enabled: domainAutomations, friendlyName: " Automations " ) )
201
201
202
- decodedResponse. append ( PrefMenuItem ( entityId: " input_boolean " , itemType: itemTypes. Domain, subMenu: false , enabled: domainInputBooleans, friendlyName: " Input Booleans " ) )
202
+ decodedResponse. append ( PrefMenuItem ( entityId: " input_boolean " , itemType: itemTypes. Domain, subMenu: true , enabled: domainInputBooleans, friendlyName: " Input Booleans " ) )
203
203
204
- decodedResponse. append ( PrefMenuItem ( entityId: " input_select " , itemType: itemTypes. Domain, subMenu: false , enabled: domainInputSelects, friendlyName: " Input Selects " ) )
204
+ decodedResponse. append ( PrefMenuItem ( entityId: " input_select " , itemType: itemTypes. Domain, subMenu: true , enabled: domainInputSelects, friendlyName: " Input Selects " ) )
205
205
206
- decodedResponse. append ( PrefMenuItem ( entityId: " scene " , itemType: itemTypes. Domain, subMenu: false , enabled: domainScenes, friendlyName: " Scenes " ) )
206
+ decodedResponse. append ( PrefMenuItem ( entityId: " scene " , itemType: itemTypes. Domain, subMenu: true , enabled: domainScenes, friendlyName: " Scenes " ) )
207
207
208
208
209
209
// Init Groups from old setting
0 commit comments