Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions source/_integrations/light.template.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ light:
data_template:
value: "{{ color_temp }}"
entity_id: input_number.temperature_input
set_white_value:
service: input_number.set_value
data_template:
value: "{{ white_value }}"
entity_id: input_number.white_value_input
set_color:
- service: input_number.set_value
data_template:
Expand Down Expand Up @@ -84,6 +89,11 @@ light:
required: false
type: template
default: optimistic
white_value_template:
description: Defines a template to get the white value of the light.
required: false
type: template
default: optimistic
color_template:
description: Defines a template to get the color of the light. Must render a tuple (hue, saturation)
required: false
Expand Down Expand Up @@ -114,6 +124,10 @@ light:
description: Defines an action to run when the light is given a color temperature command.
required: false
type: action
set_white_value:
description: Defines an action to run when the light is given a white value command.
required: false
type: action
set_color:
description: Defines an action to run when the light is given a color command.
required: false
Expand Down