Skip to content

Commit

Permalink
Update services.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbrunt57 authored Dec 19, 2024
1 parent bef8156 commit c81409f
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions custom_components/alexa_media/services.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
# SPDX-License-Identifier: Apache-2.0
update_last_called:
force_logout:
# Description of the service
description: Forces update of last_called echo device for each Alexa account.
description: Force logout of Alexa Login account and deletion of .pickle. Intended for debugging use.
# Different fields that your service accepts
fields:
# Key of the field
email:
# Description of the field
description: List of Alexa accounts to update. If empty, will update all known accounts.
description: List of Alexa accounts to log out. If empty, will log out from all known accounts.
# Example value that can be passed for this field
example: "my_email@alexa.com"

force_logout:
restore_volume:
description: Restores an Alexa Media Player volume level to the previous volume level.
fields:
entity_id:
name: Entity
description: Alexa Media Player device to restore volume on.
required: true
selector:
entity:
domain: media_player
integration: alexa_media

update_last_called:
# Description of the service
description: Force logout of Alexa Login account and deletion of .pickle. Intended for debugging use.
description: Forces update of last_called echo device for each Alexa account.
# Different fields that your service accepts
fields:
# Key of the field
email:
# Description of the field
description: List of Alexa accounts to log out. If empty, will log out from all known accounts.
description: List of Alexa accounts to update. If empty, will update all known accounts.
# Example value that can be passed for this field
example: "my_email@alexa.com"

0 comments on commit c81409f

Please sign in to comment.