<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 async def async_load_parameters(self) -> bool: """Load deCONZ parameters. Returns lists of indices of which devices was added. """

        data = await self.async_get_state('')

        _LOGGER.debug(pformat(data))

        config = data.get('config', {})
        groups = data.get('groups', {})
        lights = data.get('lights', {})
        sensors = data.get('sensors', {})

        if not self.config:
            self.config = DeconzConfig(config)

        # Update scene for existing groups
        for group_id, group in groups.items():
            if group_id in self.groups:
                self.groups[group_id].async_add_scenes(
                    group.get('scenes'), self.async_put_state)

        self.groups.update({
            group_id: DeconzGroup(group_id, group, self.async_put_state)
            for group_id, group in groups.items()
            if group_id not in self.groups
        })

        self.lights.update({
            light_id: DeconzLight(light_id, light, self.async_put_state)
            for light_id, light in lights.items()
            if light_id not in self.lights
        })
        self.update_group_color(self.lights.keys())

        self.scenes.update({
            group.id + '_' + scene.id: scene
            for group in self.groups.values()
            for scene in group.scenes.values()
            if group.id + '_' + scene.id not in self.scenes
        })

        self.sensors.update({
            sensor_id: create_sensor(sensor_id, sensor, self.async_put_state)
            for sensor_id, sensor in sensors.items()
            if supported_sensor(sensor) and sensor_id not in self.sensors
        })