Script to turn switch on and have light at a specific brightness

Hey guys, I’m fairly new to Home Assistant from another home automation platform. I’ve got a somewhat mixed bag of hardware (Zigbee, Z-Wave, Insteon, WiFi) but have got it all configured and working in Home Assistant and a few simple automations for things up and running.

I’m trying to create a script that turns an Insteon light switch on and then sets the Zigbee (Philips Hue) bulb to a specific brightness. I’m not using the Philips Hue hub, but am directly connecting to the bulbs via my Zigbee hub in Home Assistant.

I’m wanting to use a script so that I can call it from various automations. Once I’ve got one instance working I can copy and modify the script for other similar situations (Z-Wave, Zigbee switches, etc).

I’ve been trying to create a script(s) and have had varying results. I’m not really getting what I want to happen.

I’d really appreciate it if someone could show me an example that would work with my Insteon switch and Zigbee bulb? Thanks.

1 Like