Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 109031

Adjustable brightness in automation - from UI

$
0
0

@ferdo wrote:

Hi i try to adjust brightness value in automation from UI widget.
But i make sometihing worng. can someone help please. thanks

here my action:

service: yeelight.set_color_scene
entity_id: light.yeelight_color1_34ce0090fa2a
data:
  data_template:
    brightness:'{{ states('input_number.chodba_gateway_br') | int }}'
  rgb_color:
    - 255
    - 100
    - 100

or

service: yeelight.set_color_scene
entity_id: light.yeelight_color1_34ce0090fa2a

brightness: {{ states('input_number.chodba_gateway_br') | int }}
rgb_color:
  - 255
  - 100
  - 100

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 109031

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>