Closed heavyweight87 closed 1 month ago
Hi, this is already supported.
Example code for an EV added to an EVSE:
localDevice := c.eebusService.LocalDevice()
evseEntity := localDevice.EntityForType(model.EntityTypeTypeEVSE)
// EV
evseAddress := evseEntity.Address().Entity[0]
evEntity := spine.NewEntityLocal(localDevice, model.EntityTypeTypeEV, []model.AddressEntityType{evseAddress, 1})
Hi, As some devices have sub entities (heatpump entity with compressor sub entitty for example) I wondered if there was an easy way to support sub entities? From what I see there currently isn't support for this
Do you think there is an easy way to add it?