Add TypeScript integrations package

This commit is contained in:
2026-05-05 12:01:30 +00:00
commit e91176fb9b
5889 changed files with 53433 additions and 0 deletions
@@ -0,0 +1 @@
This folder is generated from Home Assistant component metadata. Replace it with a handwritten TypeScript port when implementing runtime support.
@@ -0,0 +1,29 @@
import { DescriptorOnlyIntegration } from '../../core/classes.descriptoronlyintegration.js';
export class HomeAssistantEnergyIntegration extends DescriptorOnlyIntegration {
constructor() {
super({
domain: "energy",
displayName: "Energy",
status: 'descriptor-only',
metadata: {
"source": "home-assistant/core",
"upstreamPath": "homeassistant/components/energy",
"upstreamDomain": "energy",
"integrationType": "system",
"iotClass": "calculated",
"qualityScale": "internal",
"requirements": [],
"dependencies": [
"websocket_api",
"history",
"recorder"
],
"afterDependencies": [],
"codeowners": [
"@home-assistant/core"
]
},
});
}
}
+4
View File
@@ -0,0 +1,4 @@
export interface IHomeAssistantEnergyConfig {
// TODO: replace with the TypeScript-native config for energy.
[key: string]: unknown;
}
+2
View File
@@ -0,0 +1,2 @@
export * from './energy.classes.integration.js';
export * from './energy.types.js';