如果我做亮度,我能够使用宜家灯泡与宜家灯泡一起使用的过渡.Turn_On:1,然后用过渡进行另一个灯。
它可能看起来像这样:
- service:light.turn_on data_template:light.bathroom_secondary亮度:1 color_temp:“{{send_attr('sensor.lighting_mode','ct_value_adjusted')}}” - service:light.turn_on data_template:entity_id:light.bathroom color_temp:“{{send_attr('sensor.lighting_mode','ct_value_adjusted')}}”亮度:“{{state_attr('sensor.lighting_mode','brighness_5_min')}}”转换:1