|
@ -52,7 +52,7 @@ func (b *bridge) Devices() []models.Device { |
|
|
BridgeID: b.externalID, |
|
|
BridgeID: b.externalID, |
|
|
InternalID: strconv.Itoa(int(panel.ID)), |
|
|
InternalID: strconv.Itoa(int(panel.ID)), |
|
|
Icon: shapeIcon, |
|
|
Icon: shapeIcon, |
|
|
Name: fmt.Sprintf("%s %d", shapeType, i), |
|
|
|
|
|
|
|
|
Name: fmt.Sprintf("%s %d", shapeType, i+1), |
|
|
Capabilities: []models.DeviceCapability{ |
|
|
Capabilities: []models.DeviceCapability{ |
|
|
models.DCPower, |
|
|
models.DCPower, |
|
|
models.DCColorHS, |
|
|
models.DCColorHS, |
|
|