Closed Xornop closed 3 months ago
Thanks for reporting an issue. Could you share a full yaml of functions?
Closed this issue. I found my indentation error.
@Xornop i also try to integrate a function for spotcast, Can you share details of yours?
- spec:
name: play_spotify
description: Play Spotify on a device
function:
type: script
sequence:
- choose:
- conditions:
- condition: state
entity_id: media_player.spotify_user1
state: paused
sequence:
- service: spotcast.start
data:
force_playback: true
random_song: true
repeat: context
shuffle: true
offset: 0
ignore_fully_played: false
account: user1
device_name: Chromecast
- conditions:
- condition: state
entity_id: media_player.spotify_user1
state: playing
sequence:
- service: media_player.media_pause
target:
entity_id: media_player.spotify_user1
data: {}
@sajov
when i add any