Trimlight

The Trimlight integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] lets you control Trimlight Edge Pro permanent lighting over your local network. For example, you can schedule your outdoor lights to turn off at bedtime.

Supported devices

The integration supports Trimlight Edge Pro controllers.

Unsupported devices

Earlier Trimlight Edge controllers are not supported.

Prerequisites

  1. Set up your Trimlight Edge Pro controller in the Trimlight app.
  2. Make sure the controller is powered on and connected to the same network as Home Assistant.

Configuration

To add the Trimlight device to your Home Assistant instance, use this My button:

Trimlight can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.

Manual configuration steps

If it wasn’t discovered automatically, don’t worry! You can set up a manual integration entry:

  • Browse to your Home Assistant instance.

  • Go to Settings > Devices & services.

  • In the bottom right corner, select the Add Integration button.

  • From the list, select Trimlight.

  • Follow the instructions on screen to complete the setup.

Host

Hostname or IP address of your Trimlight controller.

Supported functionality

The Trimlight integration provides the following entities.

Lights

Each Trimlight Edge Pro controller provides one light entity.

  • Light
    • Description: Turns the lights on or off and sets their brightness and static color. The entity uses the controller’s name by default.
    • Remarks: The available color and white-channel controls depend on the LED type configured on the controller. Supported types are RGB, RGB with one white channel (RGBW), and RGB with cold and warm white channels (RGBWW).

Trimlight automation examples

Tip

You don’t need to edit YAML to use these examples. Copy a YAML snippet from this page, open the visual automation editor in Home Assistant, and press Ctrl+V (or Cmd+V on Mac). Home Assistant automatically converts the pasted YAML into the visual editor format, whether it’s a full automation, a single trigger, a condition, or an action.

Automation: Turn on the lights at sunset

This example turns on the lights at 50% brightness with a static orange color at sunset.

  • Trigger: Sunset
  • Action: Turn on light
    • Target: Trimlight Edge Pro (light.trimlight_edge_pro)
    • Brightness: 50%
    • Color: Orange
YAML example for turning on the lights at sunset

Replace light.trimlight_edge_pro with the entity ID of your Trimlight light.

AutomationAutomations in Home Assistant allow you to automatically respond to things that happen in and around your home. [Learn more]
alias: "Turn on Trimlight lights at sunset"
triggers:
  - trigger: sun.sunset
actions:
  - action: light.turn_on
    target:
      entity_id: light.trimlight_edge_pro
    data:
      brightness_pct: 50
      rgb_color: [255, 128, 0]

Data updates

The integration polls each controller every 30 seconds. Commands from Home Assistant update the displayed light state immediately; the next successful poll checks the controller’s actual state and corrects any differences.

Known limitations

Scene selection and individual zone control are not supported.

Removing the integration

To remove an integration instance from Home Assistant

  1. Go to Settings > Devices & services and select the integration card.
  2. Next to the entry you want to remove, select the three dots menu. Then, select Delete.
    • Depending on the integration, the entries are listed under one of the following headings:
      • Devices
      • Hubs
      • Services
      • Integration entries
  3. To confirm, select Delete.
    • Home Assistant also deletes the devices and entities of the entry.
  4. If Home Assistant asks you to restart, restart Home Assistant.
  5. If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.