Skip to content

Commit 74dc3c8

Browse files
authored
Update README.md
1 parent 27ccd46 commit 74dc3c8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,15 @@ var entityClient = ClientFactory.GetClient<EntityClient>();
5555
var entityList = await entityClient.GetEntities();
5656
```
5757

58+
### Retrieving Entities By Domain
59+
60+
Get an `EntityClient` and then call `GetEntities("domainName")`:
61+
62+
```csharp
63+
var entityClient = ClientFactory.GetClient<EntityClient>();
64+
var filteredEntityList = await entityClient.GetEntities("light");
65+
```
66+
5867
### Retrieving All Entity States
5968

6069
Get a `StatesClient` and then call `GetStates()`:

0 commit comments

Comments
 (0)