Updating or Hiding Discovered Entities
One of the most powerful features of the Discovery system is the ability to choose exactly which components of the system are exposed to Home Assistant. You can add or remove groups of entities at any time to keep your dashboard clean and relevant.
Updating an Existing Discovery
The primary controller stores your previous settings in a discovery.json file. This allows you to modify your entity list without creating duplicates in Home Assistant.
Modifying Entity Groups
- Navigate to the Discovery page in the Integrations menu.
- Your previously selected groups will be pre-populated.
- Check any additional groups you wish to add, or uncheck groups you wish to remove.
- Click the UPDATE DISCOVERY button.
đź’ˇ Device Name Limitation
The Device Name is used to generate unique MQTT discovery topics. Because of this, you cannot change the Device Name once Discovery is enabled. To change the name, you must first Remove Discovery and then recreate it with the new name.
The Update Button
When you click UPDATE DISCOVERY, the system immediately sends “clearance” messages for any removed groups and “discovery” messages for any new ones.
⚠️ Dashboard Warning
If you remove an entity group that is currently in use on a Home Assistant dashboard or in an automation, those items will show as “Unavailable” or may break entirely.
Handling Hardware Changes and Firmware Upgrades
Because Discovery relies on a unique string (Device Name + MAC Address), certain hardware events require attention:
- System Reset (Same ESP32): If you perform a factory reset but use the same hardware and the same Device Name, running Discovery again will simply “take over” the existing entities in Home Assistant.
- New ESP32 / Different Name: If you replace the controller or change the name, Home Assistant will treat it as a brand-new device. In this case, it is best to delete the old device from the Home Assistant Devices page to avoid clutter.
- Firmware Updates: Some firmware updates may introduce new features like LED effects that might require an update to Discovery. If needed, this will be noted in the release notes for the updated version.
If you make any hardware changes to your system after Discovery is enabled (e.g. enable/disable a side sensor, changing the number of LEDs, etc.), you will need to update or remove/reenable your Discovery to reflect these changes.
-
If you are making permanent hardware changes, then the recommendation is to completely remove and then reenable Discovery. This assures the correct type of entities and properties are created for the hardware changes.
-
If you just want to change the exposed entities, you just make your selected changes and update the Discovery. A complete removal and reenable of Discovery isn’t needed just to change exposed entities.
Entities Created Reference Table
The following table lists the entities created in Home Assistant based on your selections. Note that settings, such as the number or type of sensors used, will also impact the entities created.
Note: device_name refers to your specified Discovery Device Name (converted to lowercase with underscores).
| Entity Group | Entities Created | Friendly Name |
|---|---|---|
| Controls | light.device_name_led_strip(Includes brightness & color attributes) switch.device_name_sensor_override | LED Strip Sensor Override |
| Sensors* | binary_sensor.device_name_car_presencesensor.device_name_front_distancesensor.device_name_side_distancesensor.device_name_zone | Car Presence Front Distance Side Distance Zone |
| Configuration* | number.device_name_brightness_standbytext.device_name_color1_waketext.device_name_color2_activetext.device_name_color3_parkedtext.device_name_color4_backuptext.device_name_color5_standbyselect.device_name_led_effectnumber.device_name_dist1_wakenumber.device_name_dist2_activenumber.device_name_dist3_parknumber.device_name_dist4_backupnumber.device_name_side_dist_leftnumber.device_name_side_dist_left | Brightness Standby Color1 Wake Color2 Active Color3 Parked Color4 Backup Color5 Standby LED Effect Dist1 Wake Dist2 Active Dist3 Park Dist4 Backup Side Dist Left Side Dist Right |
| Diagnostics | button.device_name_controller_restartsensor.device_name_ip_addresssensor.device_name_mac_address | Controller Restart IP Address MAC Address |
Additional Notes
- If your system is without a side sensor, then all side sensor-related entities will be omitted and will not be created.
- To control the LEDs manually via the Light entity or via automations, then assure you first enable the
Sensor Overrideswitch. See more information on manually controlling the system under the MQTT and API topics. Toggle this setting back off to reenable normal system operation.
đź’ˇ Customization
You can safely rename these entities or change their icons directly within the Home Assistant UI without affecting the controller’s firmware. But note that future Discovery updates may overwrite your changes or create duplicate entities.