Skip to content

Commit

Permalink
fixed Readme.md #15
Browse files Browse the repository at this point in the history
  • Loading branch information
pinpong committed Jul 20, 2024
1 parent d708185 commit d296bda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const client = new RemoteClient({
});

try {
const blinds = client.blinds.getAll();
const blinds = client.blinds.getItems();
console.log(blinds);
await client.blinds.setPosition('item0', 75);
const blindsTrends = client.blinds.getTrends(
Expand All @@ -56,7 +56,7 @@ const client = new LocalClient({
});

try {
const blinds = client.blinds.getAll();
const blinds = client.blinds.getItems();
console.log(blinds);
await client.blinds.setPosition('item0', 75);
const blindsTrends = client.blinds.getTrends(
Expand Down
4 changes: 2 additions & 2 deletions test/client/client.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test('remote client', async () => {

/*
try {
const blinds = client.blinds.getAll();
const blinds = client.blinds.getItems();
console.error(blinds);
await client.blinds.setPosition("item0", 75);
} catch (e) {
Expand All @@ -30,7 +30,7 @@ test('local client', async () => {

/*
try {
const blinds = client.blinds.getAll();
const blinds = client.blinds.getItems();
console.error(blinds);
await client.blinds.setPosition("item0", 75);
} catch (e) {
Expand Down

0 comments on commit d296bda

Please sign in to comment.