Skip to content

Commit

Permalink
fix(home-assistant): switch to different device identifier
Browse files Browse the repository at this point in the history
The uuid was empty on Raspberrys, this switches it to be the serial
number.
  • Loading branch information
mKeRix committed Jan 27, 2020
1 parent 696e24b commit 227da0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrations/home-assistant/home-assistant.service.ts
Expand Up @@ -60,7 +60,7 @@ export class HomeAssistantService
);

const systemInfo = await system();
this.device = new Device(systemInfo.uuid);
this.device = new Device(systemInfo.serial);
this.device.name = this.configService.get('global').instanceName;
this.device.model = systemInfo.model;
this.device.manufacturer = systemInfo.manufacturer;
Expand Down

0 comments on commit 227da0b

Please sign in to comment.