Fix attribute in Alexa service call for cover tilt (#31223)
* Update attribute in Alexa service call for cover tilt * Update Tests to fix Tilt Position call. Co-authored-by: ochlocracy <5885236+ochlocracy@users.noreply.github.com>
This commit is contained in:
parent
1f7ab9091b
commit
ed970797be
2 changed files with 7 additions and 7 deletions
|
@ -1137,7 +1137,7 @@ async def async_api_set_range(hass, config, directive, context):
|
|||
service = cover.SERVICE_OPEN_COVER_TILT
|
||||
else:
|
||||
service = cover.SERVICE_SET_COVER_TILT_POSITION
|
||||
data[cover.ATTR_POSITION] = range_value
|
||||
data[cover.ATTR_TILT_POSITION] = range_value
|
||||
|
||||
# Input Number Value
|
||||
elif instance == f"{input_number.DOMAIN}.{input_number.ATTR_VALUE}":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue