Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Enhanced integrations

Light

Turn it down a bit, would you πŸ’‘

The Home Assistant light icon



The light integration is how Home Assistant controls anything that lights up a room.

Spook adds actions for adjusting lights, rather than switching them: brightness, color, color temperature and effects. light.turn_on does two things at once: it sets a level and it turns the light on. Most of the time somebody adjusting a room means the first without the second, and there is no way to ask for that.

There is a second half to it. A light group is a light like any other, so asking one for a little more brightness has Home Assistant average its members, apply the step to that average, and then set every member to the result. A room with a lamp at 10% and one at 100% ends up with both at 65%: not brighter, just flatter. Spook’s actions work through to the members and step each from its own level.

Devices & entitiesΒΆ

Spook does not provide any new devices or entities for this integration.

ActionsΒΆ

Spook adds the following new actions to your Home Assistant instance:

Set brightnessΒΆ

Set the brightness of the lights that are already on.

Action properties

Action

Light: Set brightness πŸ‘»

Action name

light.set_brightness

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

brightness_pct

number

Yes

50

transition

number

No

2

Increase brightnessΒΆ

Turn up the lights that are already on.

Action properties

Action

Light: Increase brightness πŸ‘»

Action name

light.increase_brightness

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

step_pct

number

Yes

10

transition

number

No

2

Decrease brightnessΒΆ

Turn down the lights that are already on, stopping at the dimmest they go.

Action properties

Action

Light: Decrease brightness πŸ‘»

Action name

light.decrease_brightness

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

step_pct

number

Yes

10

transition

number

No

2

Set colorΒΆ

Set the color of the lights that are already on. Lights that cannot do color are passed over, rather than being turned white the way light.turn_on does to them.

Action properties

Action

Light: Set color πŸ‘»

Action name

light.set_color

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

rgb_color

list

Yes

[255, 127, 80]

transition

number

No

2

Set color temperatureΒΆ

Set the color temperature of the lights that are already on, each within the range it can actually reach. Warm white on one lamp is a number another one cannot manage, and a room is rarely all the same model.

Action properties

Action

Light: Set color temperature πŸ‘»

Action name

light.set_color_temperature

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

kelvin

number

Yes

2700

transition

number

No

2

Set effectΒΆ

Set an effect on the lights that are already on and actually have it. Effect names are per manufacturer and rarely agree, so a room is usually a mix of lights that know this one and lights that have never heard of it.

Action properties

Action

Light: Set effect πŸ‘»

Action name

light.set_effect

Action targets

Yes, light entities

Action response

No response

Spook's influence

Added action

Tools

Try this action Open your Home Assistant instance and show the Actions tool with a specific action selected.

Action data parameters

Attribute

Type

Required

Default / Example

effect

string

Yes

Colorloop

RepairsΒΆ

Spook has no repair detections for this integration.