allow per devices dim min/max level
Set dim_min & dim_max value from valueMin & valueMax
fix defaut max dim level to 100, remove unused alarm settings