Avoid range checking non-numeric values.
Where there is a mapping from string values into a numeric HA representation,
we still need to report the range for the UI to function correctly, but do
not want to range check the values when setting, as the mapping should take
care of setting the correct values.
Should fix the exception when setting humidity in issue #263