I have this exact featureset with my (Inovelli) smart switches using ABC Manager SmartApp (Automatic Button Controller).
Basically when my home is in Home mode, the lights are able to go to full brightness, but when in Night mode, all dimmers are limited to XX% (customizeable, mine are at 25%). This is done via mapping the switch based on the status of the house.
See: https://community.smartthings.com/t/abc-advanced-button-controller-2019-edition/177571
Thanks to @Eric_Inovelli for the idea and the amazing switches!