mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Update media_player intent schema (#116793)
Update media_player/intent.py
This commit is contained in:
parent
96ccf7f2da
commit
f2460a6975
@ -48,7 +48,7 @@ async def async_setup_intents(hass: HomeAssistant) -> None:
|
||||
required_features=MediaPlayerEntityFeature.VOLUME_SET,
|
||||
required_slots={
|
||||
ATTR_MEDIA_VOLUME_LEVEL: vol.All(
|
||||
vol.Range(min=0, max=100), lambda val: val / 100
|
||||
vol.Coerce(int), vol.Range(min=0, max=100), lambda val: val / 100
|
||||
)
|
||||
},
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user