</>
Built for C# developers
Write automations in C# with a rich API, modern .NET patterns, and tooling that feels familiar from the first project.
NetDaemon is a modern C# automation platform for Home Assistant. Powerful. Developer-friendly. Open source.
using System;using System.Reactive.Linq;using NetDaemon.AppModel;using NetDaemon.HassModel;using HomeAssistantGenerated;[NetDaemonApp]public class ExampleAppHaContext{ public ExampleAppHaContext(IHaContext ha) { var entities = new Entities(ha); entities.BinarySensor.OfficeMotion .StateChanges() .Where(e => e.New.IsOn()) .Subscribe(_ => entities.Light.Office.TurnOn()); }}
Write automations in C# with a rich API, modern .NET patterns, and tooling that feels familiar from the first project.

Use real-time events, entities, services, and state through fast websocket integration.
Strong typing, IntelliSense, templates, and rapid local iteration help keep automations easy to maintain.
Join the community, contribute, and help make NetDaemon even better.
View on GitHubGet help, share automations, discuss ideas, and follow what the community is building.