Add TypeScript integrations package
This commit is contained in:
@@ -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,2 @@
|
||||
export * from './random.classes.integration.js';
|
||||
export * from './random.types.js';
|
||||
@@ -0,0 +1,25 @@
|
||||
import { DescriptorOnlyIntegration } from '../../core/classes.descriptoronlyintegration.js';
|
||||
|
||||
export class HomeAssistantRandomIntegration extends DescriptorOnlyIntegration {
|
||||
constructor() {
|
||||
super({
|
||||
domain: "random",
|
||||
displayName: "Random",
|
||||
status: 'descriptor-only',
|
||||
metadata: {
|
||||
"source": "home-assistant/core",
|
||||
"upstreamPath": "homeassistant/components/random",
|
||||
"upstreamDomain": "random",
|
||||
"integrationType": "helper",
|
||||
"iotClass": "calculated",
|
||||
"qualityScale": "internal",
|
||||
"requirements": [],
|
||||
"dependencies": [],
|
||||
"afterDependencies": [],
|
||||
"codeowners": [
|
||||
"@fabaff"
|
||||
]
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IHomeAssistantRandomConfig {
|
||||
// TODO: replace with the TypeScript-native config for random.
|
||||
[key: string]: unknown;
|
||||
}
|
||||
Reference in New Issue
Block a user