Skip to content

Commit

Permalink
Merge pull request #395 from ExperienceLovelace/release/1.0.43
Browse files Browse the repository at this point in the history
Release/1.0.43
  • Loading branch information
exetico authored Jan 2, 2024
2 parents 247c454 + 9b11067 commit 276a906
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ha-floorplan",
"version": "1.0.41",
"version": "1.0.43",
"description": "Floorplan for Home Assistant",
"homepage": "https://experiencelovelace.github.io/ha-floorplan",
"keywords": [
Expand Down
7 changes: 6 additions & 1 deletion src/components/floorplan/floorplan-element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,12 @@ export class FloorplanElement extends LitElement {
);
} else {
const open_type = actionConfig.same_tab ? '_self' : '_blank';
window.open(actionConfig.url_path, open_type);
const urlPath = this.evaluate(
actionConfig.url_path,
entityId,
svgElementInfo?.svgElement
) as string;
window.open(urlPath, open_type);
}
break;
}
Expand Down

0 comments on commit 276a906

Please sign in to comment.