Skip to content

Commit

Permalink
Default energy site name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Sep 3, 2024
1 parent 4c76de0 commit b549d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class TeslaFleetApiPlatform implements DynamicPlatformPlugin {
accessory.context.battery = product.components.battery;
accessory.context.grid = product.components.grid;
accessory.context.solar = product.components.solar;
accessory.displayName = product.site_name;
accessory.displayName = product.site_name ?? "Tesla Energy";

new EnergyAccessory(this, accessory);
});
Expand Down

0 comments on commit b549d1d

Please sign in to comment.