Hi @LarsMartin ,
Could you please share a bit more about your issue?
Do you mean that the current value is overwritten automatically when deploying your solution to another Environment?
Further, do you want the current value to remain the same across different environments?
Based on the issue that you mentioned, I think you have some misunderstanding with the Default value or Current Value of Environment Variable.
Currently, within PowerApps, only the Default value of Environment variable could remain the same across different environments. The Current value is scope to your current PowerApps environment, when you deploy the Solution including Environment variable to another different Environment, the Current value would be lost.
Please check the following blog for more details:
https://powerapps.microsoft.com/en-us/blog/environment-variables-available-in-preview/
If you want the Environment Variable value to remain the same across different environments, please consider set a Default value for it rather than Current value.
Best regards,