component names as const

This commit is contained in:
Darius
2026-02-09 19:44:08 +01:00
parent d416e8db07
commit 4c46c5ae6d
4 changed files with 37 additions and 11 deletions

8
dist/homepage.js vendored
View File

@@ -1,6 +1,12 @@
export const HomepageComponent = {
HA_DESK_POSITION: "ha_desk_position",
HA_TEMP: "ha_temp",
TIDAL_CURRENT: "tidal_current",
GRIST_PERSONAL_GOALS: "grist_personal_goals",
};
export function createComponentUpdate(component, data) {
return {
component: component,
data: data
data: data,
};
}