Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera support #57

Merged
merged 3 commits into from
Apr 5, 2020
Merged

Camera support #57

merged 3 commits into from
Apr 5, 2020

Conversation

helto4real
Copy link
Collaborator

@helto4real helto4real commented Apr 5, 2020

Add Camera support to Fluent API.

In the effort to get more specific support for enitity domains in the fluent api, the camera is now added. Also it is first of many refactorings of the fluent API to make it simpler and easier to maintain.

The autogenerated camera entities will now use this interface instead.

Sample below:

await Camera("camera.camera1")
         .Snapshot("/config/www/snapshots/cam1.jpg")
         .ExecuteAsync();

@helto4real helto4real merged commit 6f72477 into dev Apr 5, 2020
@helto4real helto4real deleted the camera_support branch April 5, 2020 20:08
Ikcelaks pushed a commit to Ikcelaks/netdaemon that referenced this pull request Dec 23, 2022
Add Camera support to Fluent API.

In the effort to get more specific support for enitity domains in the fluent api, the camera is now added. Also it is first of many refactorings of the fluent API to make it simpler and easier to maintain.

The autogenerated camera entities will now use this interface instead.

Sample below:

```csharp
await DefaultDaemonHost
         .Camera("camera.camera1")
         .Snapshot("/config/www/snapshots/cam1.jpg")
         .ExecuteAsync();
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant