Hi all, I’m very new to all of this and have spent a few days learning what I can, reading these topics when necessary and watching lots of youtube videos.
GOAL: To have lights “transition” from one mode to another when using automations for lighting scenes
I have found a lot of talk about transitions but unfortunately my programming knowledge is “noob” at best.
I have set up a number of lighting scenes that I am then able to draw on and implement through use of automations. I’m doing things like “When I want to relax, and I’m at home, set this lighting from scenes, turn off other noisy appliances and give me some chill out tunes.” Pretty basic stuff, but saves 9 or 10 individual button clicks.
So, it is extremely frustrating and embarassing that I can’t for the life of me work out where to put the “transition: xx” into this type of automation. I have tried based on other people’s examples and requests for assistance on the same topic, but implementing it the same way doesn’t seem to work due to whatever add complexity the conditions have put on the script.
alias: Relax Mode
description: "Turning lights to relaxing colour and starting chilled out mix on SONOS Kitchen"
trigger:
- platform: conversation
command: Relaxation Time
condition:
- condition: zone
entity_id: person.marc
zone: zone.home
action:
- action: scene.turn_on
metadata: {}
target:
entity_id: scene.relaxation
- action: media_player.play_media
target:
entity_id: media_player.kitchen_speaker
data:
media_content_id: FV:2/6
media_content_type: favorite_item_id
metadata:
title: Cocktail Lounge 2024
thumbnail: >-
https://image-cdn-ak.spotifycdn.com/image/ab67706c0000da84664e18369b0f19f068935a1c
media_class: playlist
children_media_class: null
navigateIds:
- {}
- media_content_type: favorites
media_content_id: ""
- media_content_type: favorites_folder
media_content_id: object.container.playlistContainer
mode: single
I have attempted putting it in after the entity_id: scene.relaxation but this doesn’t seem to work.
If anyone with more knowledge than me has some idea of what I’m not understanding, I would be greatly appreciative.
Thanks in advance.