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 './waze_travel_time.classes.integration.js';
|
||||
export * from './waze_travel_time.types.js';
|
||||
@@ -0,0 +1,26 @@
|
||||
import { DescriptorOnlyIntegration } from '../../core/classes.descriptoronlyintegration.js';
|
||||
|
||||
export class HomeAssistantWazeTravelTimeIntegration extends DescriptorOnlyIntegration {
|
||||
constructor() {
|
||||
super({
|
||||
domain: "waze_travel_time",
|
||||
displayName: "Waze Travel Time",
|
||||
status: 'descriptor-only',
|
||||
metadata: {
|
||||
"source": "home-assistant/core",
|
||||
"upstreamPath": "homeassistant/components/waze_travel_time",
|
||||
"upstreamDomain": "waze_travel_time",
|
||||
"integrationType": "service",
|
||||
"iotClass": "cloud_polling",
|
||||
"requirements": [
|
||||
"pywaze==1.2.0"
|
||||
],
|
||||
"dependencies": [],
|
||||
"afterDependencies": [],
|
||||
"codeowners": [
|
||||
"@eifinger"
|
||||
]
|
||||
},
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export interface IHomeAssistantWazeTravelTimeConfig {
|
||||
// TODO: replace with the TypeScript-native config for waze_travel_time.
|
||||
[key: string]: unknown;
|
||||
}
|
||||
Reference in New Issue
Block a user