diff --git a/src/blueapi/core/context.py b/src/blueapi/core/context.py index 63a2965d0e..9bf29aec3d 100644 --- a/src/blueapi/core/context.py +++ b/src/blueapi/core/context.py @@ -213,11 +213,19 @@ def with_config(self, config: EnvironmentConfig) -> None: self.with_plan_module(mod) case DeviceSource(): LOGGER.info("Including devices from %s", source.module) + LOGGER.warning( + "'devices' environment kind is deprecated - please convert " + "configuration to use deviceManager" + ) self.with_device_module(mod) case DodalSource(mock=mock): LOGGER.info( "Including devices from 'dodal' source %s", source.module ) + LOGGER.warning( + "'dodal' environment kind is deprecated - please convert " + "configuration to use deviceManager" + ) self.with_dodal_module(mod, mock=mock) case DeviceManagerSource(mock=mock, name=name): LOGGER.info(