[SOLVED] Validation issue in items file after 2.4 update

Hello!
I recently updated to 2.4 and now everytime I update my items file, I get this error in the log:

2019-01-09 09:09:08.379 [INFO ] [el.core.internal.ModelRepositoryImpl] - Validation issues found in configuration model 'home.items', using it anyway:
Duplicate ModelItem 'gBasement'
Duplicate ModelItem 'gBasement'
Duplicate ModelItem 'gKitchen'
Duplicate ModelItem 'gKitchen'
Duplicate ModelItem 'gActivity'
Duplicate ModelItem 'gActivity'
Duplicate ModelItem 'gGoodnight'
Duplicate ModelItem 'gGoodnight'
Duplicate ModelItem 'gSunriseSunset'
Duplicate ModelItem 'gSunriseSunset'

2019-01-09 09:09:08.449 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'home.items'

My first thought was duplicates of groups in the items file but here’s how my groups looks like:

// GROUPS

//Main
Group gHouse

// Locations
Group gBasement		(gHouse)
Group gKitchen		(gHouse)
Group gBathroom		(gHouse)
Group gLivingRoom	(gHouse)
Group gBedroom		(gHouse)

// Functions
Group gActivity			(gHouse)
Group gGoodnight		(gHouse)
Group gSunriseSunset	(gHouse)

// Group Switches
Group:Switch:OR(ON,OFF)		gBasement		"Basement"				["Switchable"]
Group:Switch:OR(ON,OFF)		gKitchen		"Kitchen"				["Switchable"]
Group:Switch:OR(ON,OFF)		gLivingRoom		"Livingroom"			["Switchable"]
Group:Switch:AND(ON,OFF)	gActivity		"Activity"				["Switchable"]
Group:Switch:OR(ON,OFF)		gGoodnight		"Goodnight"				["Switchable"]
Group:Switch:OR(ON,OFF)		gSunriseSunset	"Sunsrise Sunset"		["Switchable"]

Everything works though!
Any thoughts?

Well just read the warning. It lists the items you’ve defined twice in your file.
Which is what you did. Remove all first definitions.
(Note that everything except the group name isoptional, including the :Switch:OR(ON,OFF) part).

Probably the 2nd definition overrides the 1st that’s why you don’t see any impact. Or there is but you didn’t notice.

Thanks mstormi
While reading my post after I posted it, I figured it out!
I thought I had to name my groups and then tell them to act as switches. Strange that I didn’t get this error with 2.3.
Oh well, thanks!