Skip to content

Commit

Permalink
resolve @ha
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Dec 28, 2024
1 parent 971fb84 commit 8ec32ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions build-scripts/rspack.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ const createRspackConfig = ({
"@lit-labs/virtualizer/polyfills/resize-observer-polyfill/ResizeObserver.js",
"@lit-labs/observers/resize-controller": "@lit-labs/observers/resize-controller.js",
},
tsConfig: path.resolve(paths.polymer_dir, "tsconfig.json"),
},
output: {
module: latestBuild,
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
"dependenciesOverride": {
"compare-versions": "6.1.0"
},
"devDependenciesOverride": {
"tsconfig-paths-webpack-plugin": "^4.0.1"
},
"resolutionsOverride": {},
"dependencies": {
"@babel/runtime": "7.26.0",
Expand Down Expand Up @@ -232,7 +229,6 @@
"tar": "7.4.3",
"terser-webpack-plugin": "5.3.11",
"ts-lit-plugin": "2.0.2",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typescript": "5.7.2",
"vitest": "2.1.8",
"webpack-stats-plugin": "1.1.3",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mdiToggleSwitchVariant } from "@mdi/js";
import { FIXED_DOMAIN_ICONS } from "@ha/common/const";
import { FALLBACK_DOMAIN_ICONS } from "@ha/data/icons";
import * as schema from "./schema";

export type PlatformInfo = {
Expand All @@ -20,7 +20,7 @@ export const platformConstants: { [key: string]: PlatformInfo } = {
},
light: {
name: "Light",
iconPath: FIXED_DOMAIN_ICONS.light,
iconPath: FALLBACK_DOMAIN_ICONS.light,
color: "var(--amber-color)",
description:
"The KNX light platform is used as an interface to dimming actuators, LED controllers, DALI gateways and similar.",
Expand Down

0 comments on commit 8ec32ae

Please sign in to comment.