Update ecobee.devicetype.groovy

Fixed a bug with the logic that finds the group(s) that a thermostat is assigned to