Last active
December 24, 2023 01:23
-
-
Save ggoulart/fdfd3a378c3a6b06acdf2e7aeca955d7 to your computer and use it in GitHub Desktop.
Find My Apple Device
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Find My Apple Device | |
description: Automate find my apple device using icloud integration. | |
domain: script | |
source_url: https://gist.github.com/ggoulart/fdfd3a378c3a6b06acdf2e7aeca955d7 | |
author: https://gist.github.com/ggoulart | |
input: | |
apple_device: | |
name: Apple device | |
description: Apple device to be found. | |
selector: | |
device: | |
filter: | |
integration: icloud | |
apple_account: | |
name: Apple account email | |
description: Apple account email linked to device. | |
default: "email@here.com" | |
selector: | |
text: | |
mode: single | |
sequence: | |
- alias: "Set up variables" | |
variables: | |
device_id: !input apple_device | |
device_name: > | |
{{ device_attr(device_id, "name") }} | |
- alias: Find Device | |
service: icloud.play_sound | |
data: | |
account: !input apple_account | |
device_name: "{{ device_name }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment