Fix condition extra fields for climate and humidifier (#48184)
This commit is contained in:
parent
53a9c117ee
commit
286217f771
5 changed files with 6 additions and 8 deletions
|
@ -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)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue