Home Assistant Discovery (Primary Controller ONLY)


Home Assistant Discovery Overview

If you are a Home Assistant user, you can integrate your LED controller to use its features directly from your dashboards or utilize them in complex automations and scripts. The system offers around 20 distinct entities—including a light, sensor states and setting, and additional entities requiring any manual YAML configuration on the Home Assistant side. And you have control over which entity groups are included and which are omitted!

Home Assistant Integration Example

Prerequisites

Before attempting to enable Discovery, ensure your environment meets the following requirements:

  1. Home Assistant: Version 2026.3 or later is recommended.
  2. MQTT Broker: A properly configured broker must be available on your network (e.g., the official Home Assistant Mosquitto add-on or a standalone broker).
  3. MQTT Enabled: You must have successfully Enabled and Configured MQTT in the lamp’s system settings and verified the connection.

Understanding Discovery Naming

The Discovery process creates a new “Device” in Home Assistant using the Discovery Device Name you specify. This name is critical because it determines how your entities appear in the Home Assistant database.

Entity ID Generation

All created entity names are prepended with the device name. The system automatically converts the name to lowercase and replaces spaces with underscores.

Example: Device Name “LEDCtrl 01”

  • light.ledctrl_01_led_strip
  • sensor.ledctrl_01_sensor_1
  • text.ledctrl_01_sensor_1_color

💡 Note
Once Discovery is enabled, the device name cannot be changed without first removing the Discovery and re-adding it. Consider your naming choice carefully to avoid breaking future dashboards or automations.


How Discovered Entities Work In Home Assistant

When the LED strip is created in Home Assistant, it is created as a “Light” entity. As a light entity, it has its own color and effect attributes.

ha_card

Note that these are separate and independent from any effect and colors set for the sensors. This means that the LED strip light attributes are only used when manually controlling the LED strip. However, to manually control the strip and not have any changes immediately reset by the sensor settings, the sensors must be disabled or overridden.

override_on

Since manually controlling the LED strip requires that the sensor override be ON, the system will set this automatically any time you perform an action that causes the LED to turn on. This is true whether using the Light Card or an automation.

Note: While turning on the light via the entity also automatically enables the override, you can also manually enable the override without actually turning on the LEDs. This can be done if you simply wish to override the sensors and not have the system react to triggers.

So while the override gets automatically set when manually turning on the LEDs, the opposite is not true!

override_off

This is intentional because you may wish to maintain manual control of the LEDs even after they are toggled off. However, you must remember to disable the sensor override to return the system to automatic operation where it again responds to sensor triggers.

Automation Recommendations

If controlling the LEDs via automations or scripts, it is recommended that you explicitely disable and reeanbled the sensor override.

Using the UI editor:

ha_automation

Using YAML:

actions:
  - action: switch.turn_on
    target:
      entity_id: switch.stair_leds_sensor_override
  - action: light.turn_on
    target:
      entity_id: light.stair_leds_led_strip
  - action: switch.turn_off
    target:
      entity_id: switch.stair_leds_sensor_override

Since turning on the LED strip also automatically enables the sensor override, the first action is technically unnecessary. But it is recommended since enabling the sensor override also clears any active sensor triggers and sets the LEDs to an off state.

The last action, reenabling the sensors, also does not need to appear in the same automation’s actions if you wish to leave the LEDs in a manual state after the automation completes. Just remember to disable the override to return the system to automatic operation.

🚩 System not responding?
As covered under Troubleshooting, if you have your controller integrated with an external system and the LEDs no longer seem to respond to the sensors, check that the Sensor Override setting has not been left on.

In This Section


<- Previous: API HTTP Command List Next: Enabling and Disabling Discovery ->

Copyright © 2026 Resinchem Tech. Firmware documentation for personal use. Commercial use, republishing or embedding prohibited.

This site uses Just the Docs, a documentation theme for Jekyll.