Fix condition extra fields for climate and humidifier (#48184)

This commit is contained in:
Philip Allgaier 2021-03-22 14:59:40 +01:00 committed by GitHub
parent 53a9c117ee
commit 286217f771
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 8 deletions

View file

@ -153,7 +153,7 @@ async def async_get_action_capabilities(hass: HomeAssistant, config: dict) -> di
return {
"extra_fields": vol.Schema(
{
vol.Optional("position", default=0): vol.All(
vol.Optional(ATTR_POSITION, default=0): vol.All(
vol.Coerce(int), vol.Range(min=0, max=100)
)
}