Automatic screen dimming not working

Since andriod6 update the lower screen back light setting is not working properly. When I set to dim at sunfall and get bright at sunset this setting does not work. It keeps a dimmed screen for all 24 hours. Can somebody solve this ‘bug’?

I think you experience the same issue as described here:

If so please continue there, if not please describe what the difference is.