-
Notifications
You must be signed in to change notification settings - Fork 0
Create Entity Feature
partach edited this page Jan 13, 2026
·
3 revisions
The Protocol Wizard frontend card now includes functionality to create entities directly after successfully reading a Modbus register or SNMP OID. This streamlines the workflow of exploring devices and adding entities without needing to navigate through the configuration UI.
- Appears automatically after a successful read operation
- Only visible when read was successful and contains valid data
- Shows a clear "Create Entity from this Read" button
- Pre-fills entity name based on protocol and address
- Shows a summary of the configuration that will be used
- Displays the last read value for verification
- Allows customization of the entity name before creation
The entity is created with appropriate settings based on the read operation:
- Address
- Register type (holding, input, coil, discrete)
- Data type (uint16, int32, float32, etc.)
- Size (number of registers)
- Byte order
- Word order
- Read/write mode (defaults to read-only for safety)
- Scale and offset (defaults to 1.0 and 0.0)
- Options (See Value Mapping Guide)
- Format (See Value Mapping Guide)
- OID address
- Data type (string, integer, counter, etc.)
- Read mode (defaults to "get")
- Scale and offset (defaults to 1.0 and 0.0)
- Configure the read parameters (address, data type, etc.)
- Click the "Read" button (important: register type 'auto' helps read registers but if succesfull is not necessarily the correct register type for the entity!)
- Verify the returned value
- After a successful read, click "Create Entity from this Read"
- Review the pre-filled entity name and configuration
- Modify the entity name if desired
- Click "Create Entity" to add it to the integration
- Success message appears: "Entity created successfully!"
- Entity is immediately available in Home Assistant
- Form automatically closes after 3 seconds