-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from prasad-edlabadka/feature/light-support
Feature/light support
- Loading branch information
Showing
12 changed files
with
200 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { PlatformAccessory } from 'homebridge'; | ||
import { TuyaIRPlatform } from '../../platform'; | ||
import { BaseAccessory } from './BaseAccessory'; | ||
/** | ||
* Light Accessory | ||
* An instance of this class is created for each accessory your platform registers | ||
* Each accessory may expose multiple services of different service types. | ||
*/ | ||
export declare class LightAccessory extends BaseAccessory { | ||
private readonly platform; | ||
private readonly accessory; | ||
private service; | ||
private sendCommandAPIURL; | ||
private lightState; | ||
constructor(platform: TuyaIRPlatform, accessory: PlatformAccessory); | ||
private setOn; | ||
private getOn; | ||
private getBrightness; | ||
private setBrightness; | ||
private sendLightCommand; | ||
} | ||
//# sourceMappingURL=LightAccessory.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.