-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Shelly 0/1-10V PM Gen3 support (#1066)
* Added Shelly 0/1-10V PM Gen3 support * Update shelly0110dimg3.js Corrected Link * Update README.md Typo in version required corrected
- Loading branch information
1 parent
fae6ef1
commit 03611d0
Showing
3 changed files
with
29 additions
and
1 deletion.
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
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 @@ | ||
'use strict'; | ||
|
||
const shellyHelperGen2 = require('../gen2-helper'); | ||
|
||
/** | ||
* Shelly Plus 0-10V Dimmer Gen 3 / shelly0110dimg3 | ||
* | ||
* https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen3/ShellyDimmer0110VPMG3/ | ||
*/ | ||
const shelly0110dimg3 = {}; | ||
|
||
shellyHelperGen2.addLight(shelly0110dimg3, 0); | ||
|
||
shellyHelperGen2.addInput(shelly0110dimg3, 0); | ||
shellyHelperGen2.addInput(shelly0110dimg3, 1); | ||
|
||
shellyHelperGen2.addPlusAddon(shelly0110dimg3); | ||
|
||
module.exports = { | ||
shelly0110dimg3: shelly0110dimg3, | ||
}; | ||
|