Don't convert climate temperature step (#4082)

This commit is contained in:
Jesse Hills 2022-11-24 16:00:09 +13:00
parent 81b6562c25
commit 25bc6761f6
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -113,7 +113,9 @@ CLIMATE_SCHEMA = cv.ENTITY_BASE_SCHEMA.extend(cv.MQTT_COMMAND_COMPONENT_SCHEMA).
{
cv.Optional(CONF_MIN_TEMPERATURE): cv.temperature,
cv.Optional(CONF_MAX_TEMPERATURE): cv.temperature,
cv.Optional(CONF_TEMPERATURE_STEP): cv.temperature,
cv.Optional(CONF_TEMPERATURE_STEP): cv.float_with_unit(
"visual_temperature", "(°C|° C|°|C|° K|° K|K|°F|° F|F)?"
),
}
),
cv.Optional(CONF_ACTION_STATE_TOPIC): cv.All(