@di-zed/yandex-smart-home
Version:
The Yandex Smart Home skills for the different device types.
33 lines (32 loc) • 950 B
TypeScript
/**
* @author DiZed Team
* @copyright Copyright (c) DiZed Team (https://github.com/di-zed/)
*/
import { Capability } from '../devices/capability';
import { Property } from '../devices/property';
import { Device } from '../devices/device';
/**
* Device Helper.
*/
declare class DeviceHelper {
/**
* Get Device Capability.
*
* @param device
* @param capabilityType
* @param capabilityStateInstance
* @returns Capability | undefined
*/
getDeviceCapability(device: Device, capabilityType: string, capabilityStateInstance: string): Capability | undefined;
/**
* Get Device Property.
*
* @param device
* @param propertyType
* @param propertyStateInstance
* @returns Property | undefined
*/
getDeviceProperty(device: Device, propertyType: string, propertyStateInstance: string): Property | undefined;
}
declare const _default: DeviceHelper;
export default _default;