* Added toggle service to cover * Added toggle tilt service and tilt closed property * Added is_tilt_closed so tilt can be toggled * Added toggle services * Added toggle tilt service * Removed spaces * Added tests for tilt services * Updated tests * Added range conversion in comparison * Added tests to cover broken areas * Fixed open/close tilt values and added toggle function * Added default toggle behavior using tilt_position of 0, reverted other changes * blank space * Added constants and swapped assert comparisons * Fixed attribute name * Added mqtt responses in test * Added constants * Space * Fix tilt_optimistic flag being ignored if status topic set * Added more tests * Changed async toggle call * Updated group tilt test * Updated format of asserts * Updated states calls * Updated function variables * merge fixes * Added blank line * Changed calls to async * More async updates
77 lines
2 KiB
YAML
77 lines
2 KiB
YAML
# Describes the format for available cover services
|
|
|
|
open_cover:
|
|
description: Open all or specified cover.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to open.
|
|
example: 'cover.living_room'
|
|
|
|
close_cover:
|
|
description: Close all or specified cover.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to close.
|
|
example: 'cover.living_room'
|
|
|
|
toggle:
|
|
description: Toggles a cover open/closed.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to toggle.
|
|
example: 'cover.garage_door'
|
|
|
|
set_cover_position:
|
|
description: Move to specific position all or specified cover.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to set cover position.
|
|
example: 'cover.living_room'
|
|
position:
|
|
description: Position of the cover (0 to 100).
|
|
example: 30
|
|
|
|
stop_cover:
|
|
description: Stop all or specified cover.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to stop.
|
|
example: 'cover.living_room'
|
|
|
|
open_cover_tilt:
|
|
description: Open all or specified cover tilt.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) tilt to open.
|
|
example: 'cover.living_room_blinds'
|
|
|
|
close_cover_tilt:
|
|
description: Close all or specified cover tilt.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to close tilt.
|
|
example: 'cover.living_room_blinds'
|
|
|
|
toggle_cover_tilt:
|
|
description: Toggles a cover tilt open/closed.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to toggle tilt.
|
|
example: 'cover.living_room_blinds'
|
|
|
|
set_cover_tilt_position:
|
|
description: Move to specific position all or specified cover tilt.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to set cover tilt position.
|
|
example: 'cover.living_room_blinds'
|
|
tilt_position:
|
|
description: Tilt position of the cover (0 to 100).
|
|
example: 30
|
|
|
|
stop_cover_tilt:
|
|
description: Stop all or specified cover.
|
|
fields:
|
|
entity_id:
|
|
description: Name(s) of cover(s) to stop.
|
|
example: 'cover.living_room_blinds'
|