Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qJake committed Aug 17, 2019
1 parent 27ccd46 commit 74dc3c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ var entityClient = ClientFactory.GetClient<EntityClient>();
var entityList = await entityClient.GetEntities();
```

### Retrieving Entities By Domain

Get an `EntityClient` and then call `GetEntities("domainName")`:

```csharp
var entityClient = ClientFactory.GetClient<EntityClient>();
var filteredEntityList = await entityClient.GetEntities("light");
```

### Retrieving All Entity States

Get a `StatesClient` and then call `GetStates()`:
Expand Down

0 comments on commit 74dc3c8

Please sign in to comment.