I may be trying to do something that is not possible. I’ve read the docs on Splitting the config files and I’ve been able to do the basics. However, I want to do something more complex.
I have about 40 Phillips Hue color bulbs in my house. They all work fine in HA. But I my scenes.yaml file is huge because of all the settings. Also, I want some standard settings that I can use in different scenes. One of those is a standard “white” setting.
Here is my scenes.yaml where I am trying to import the settings for a standard white light.
scenes.yaml
- id: '1699401112774'
name: Test On
entities:
light.office_3_2: !include white_light.yaml
friendly_name: Office 1
mode: normal
state: 'on'
icon: mdi:air-conditioner
metadata: {}
Here are the settings I cut out of the light above and put in it’s own (hopefully reusable) YAML file.
#white_light.yaml
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
effect_list:
- None
- candle
- fire
- prism
supported_color_modes:
- color_temp
- xy
color_mode: color_temp
brightness: 255
color_temp_kelvin: 6535
color_temp: 153
hs_color:
- 54.768
- 1.6
rgb_color:
- 255
- 254
- 250
xy_color:
- 0.326
- 0.333
effect: None
Is what I am doing possible? (reusing snippets of code in a scene) If so, can someone point me to the proper docs or an example?
Cheers!
=C=