When making in automation, i basically want it to produce a URL based on the action and condition I define. I cant seem to think of an action I could use that would just be text. If I could use a sensor as an action? I dont think so, ihoping someone could throw me a bone…
- alias: how in the
trigger:
platform: state
entity_id: media_player.living_room
from: 'playing'
condition:
condition: and
conditions:
platform: state
entity_id: media_player.plex_living_room
condition: template
value_template: '{{ states.media_player.plex_living_room.state != "playing" }}'
action:
- service: gimme.awaytogetaurlplease?
this would then grab a pic. i need to create a couple of these based on the conditions. thanks!