fix ids
This commit is contained in:
@@ -44,9 +44,9 @@ export async function runPublishLoop(
|
||||
JSON.stringify({
|
||||
device,
|
||||
command_topic: `${state_topic}/trigger-reboot`,
|
||||
default_entity_id: `button.${config.device.key}_${entityIds.actions.triggerReboot}`,
|
||||
name: `Reboot into ${bootEntry.label}`,
|
||||
object_id: `efibootmgr_${config.device.key}_${entityIds.actions.triggerReboot}`,
|
||||
default_entity_id: `button.${config.device.key}_${entityIds.actions.triggerReboot}_${bootEntry.number}`,
|
||||
name: `Reboot into ${bootEntry.label} - ${bootEntry.number}`,
|
||||
object_id: `efibootmgr_${config.device.key}_${entityIds.actions.triggerReboot}_${bootEntry.number}`,
|
||||
payload_press: bootEntry.number,
|
||||
unique_id: `${config.device.key}_efibootmgr_${entityIds.actions.triggerReboot}`,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user