Skip to content

Commit f1a92d3

Browse files
Merge pull request #20 from daudfatihah/master
Add scenes method to TuyaApi class
2 parents 8b768df + 69e5700 commit f1a92d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/TuyaApi.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ public function devices($token)
3838
return new Devices($this->_config, $token);
3939
}
4040

41+
public function scenes($token)
42+
{
43+
return new Scenes($this->_config, $token);
44+
}
45+
4146
public function token()
4247
{
4348
return new Token($this->_config);

0 commit comments

Comments
 (0)