Skip to content

Commit

Permalink
name energy site
Browse files Browse the repository at this point in the history
  • Loading branch information
Bre77 committed Sep 3, 2024
1 parent 9d3e344 commit 8e52db4
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 8e52db4

Please sign in to comment.