NetDaemon.Client 25.18.0

Prefix Reserved
dotnet add package NetDaemon.Client --version 25.18.0
                    
NuGet\Install-Package NetDaemon.Client -Version 25.18.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NetDaemon.Client" Version="25.18.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NetDaemon.Client" Version="25.18.0" />
                    
Directory.Packages.props
<PackageReference Include="NetDaemon.Client" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NetDaemon.Client --version 25.18.0
                    
#r "nuget: NetDaemon.Client, 25.18.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=NetDaemon.Client&version=25.18.0
                    
Install NetDaemon.Client as a Cake Addin
#tool nuget:?package=NetDaemon.Client&version=25.18.0
                    
Install NetDaemon.Client as a Cake Tool

NetDaemon - Write your automations in C# for Home Assistant

CI build Coverage Status

Welcome to the NetDaemon project!

NetDaemon is an application daemon that enables you to write powerful home automation scripts in C# for Home Assistant. This repository contains NetDaemon V5, the latest version of the framework.

About NetDaemon

NetDaemon was founded by @helto4real in 2020 as a personal project to explore the use of C# in Home Assistant. Early contributions from @Ludeeus helped integrate NetDaemon with Home Assistant. The project gained significant momentum when @FrankBakkerNl joined and introduced the HassModel API, which leverages code generation to create a user-friendly experience.

Currently, @helto4real and @FrankBakkerNl serve as the primary maintainers, though many others have contributed over the years.

Getting Started

To learn how to install and use NetDaemon, visit our official documentation:

🔗 Getting Started Guide

Usage

NetDaemon allows you to write your automations easily and cleanly using C#.

[NetDaemonApp]
class MyApp
{
    public MyApp(Entities entities)
    {
        LightEntity hallwayLight = entities.Light.HallwayLight;
        BinarySensorEntity motionSensor = entities.BinarySensor.HallwayMotionSensor;
        
        // Check state of entities directly
        if (motionSensor.IsOn() && hallwayLight.IsOff()){
            hallwayLight.TurnOn();
        }

        // Subscribe to changes in the state of the motion sensor
        motionSensor.StateChanges()
            .Where(e => e.New?.IsOn() ?? false)
            .Subscribe(_ => hallwayLight.TurnOn());
    }
}

Support & Community

If you have issues or suggestions, please feel free to:

Contributions are welcome! If you'd like to help improve NetDaemon, we encourage you to join our Discord server to learn more about how you can contribute to the project.

Release Notes

Check out the Release Notes for detailed information on the latest changes, bug fixes, and new features.

NetDaemon is stable, and we're committed to maintaining that stability by minimizing breaking changes in future releases.

Versioning

NetDaemon uses the CalVer versioning system for its NuGet packages. The version format is YYYY.WW.PATCH, where:

  • YYYY.WW represents the year and week number (01-52).
  • PATCH indicates the patch version of the release.

Developer notes

To automatically upgrade all NuGet packages, use the dotnet-outdated-tool:

  1. Install the tool with the following command:
dotnet tool install --global dotnet-outdated-tool
  1. Run this command to upgrade all packages:
dotnet outdated --pre-release Never --upgrade
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on NetDaemon.Client:

Package Downloads
NetDaemon.HassModel

HassModel Application level API for communicating with Home Assistant from NetDaemon Please see https://github.com/net-daemon/netdaemon.

NetDaemon.Runtime

The runtime environment for NetDaemon. Please see https://github.com/net-daemon/netdaemon.

NetDaemon.Extensions.Tts

Text-to-speech features for NetDaemon. Please see https://github.com/net-daemon/netdaemon.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NetDaemon.Client:

Repository Stars
net-daemon/netdaemon
An application daemon for Home Assistant written in .NET
Version Downloads Last updated
25.18.0 130 5/6/2025
25.14.1 641 4/13/2025
25.14.0 251 4/13/2025
25.10.0 783 3/16/2025
25.6.0 1,022 2/16/2025
25.5.0 608 2/8/2025
24.52.0 1,657 12/23/2024
24.51.0 291 12/22/2024
24.50.0 643 12/9/2024
24.47.0-alpha-3 202 11/24/2024
24.43.0 1,459 10/26/2024
24.42.0 539 10/17/2024
24.37.1 1,079 9/15/2024
24.37.0 432 9/11/2024
24.35.1 567 9/1/2024
24.35.0 504 8/26/2024
24.34.0 274 8/25/2024
24.33.0 657 8/18/2024
24.28.1 829 7/14/2024
24.28.0 301 7/11/2024
24.28.0-alpha-3 106 7/11/2024
24.27.1 391 7/7/2024
24.27.0 278 7/7/2024
24.27.0-alpha-3 114 7/6/2024
24.27.0-alpha-2 119 7/3/2024
24.26.0 406 6/26/2024
24.25.0 281 6/24/2024
24.23.0 754 6/10/2024
24.23.0-alpha-4 124 6/8/2024
24.21.0 726 5/20/2024
24.18.0-alpha-4 158 5/1/2024
24.18.0-alpha-3 120 5/1/2024
24.17.0-alpha-2 140 4/28/2024
24.17.0-alpha-1 129 4/28/2024
24.16.0 730 4/21/2024
24.12.0 1,098 3/21/2024
24.8.0 812 2/24/2024
24.3.1 1,020 1/20/2024
24.3.0 145 1/20/2024
24.1.0-alpha-5 153 1/5/2024
23.46.1 1,612 11/19/2023
23.46.0 467 11/18/2023
23.46.0-alpha-14 147 11/14/2023
23.44.2-alpha-10 89 11/3/2023
23.43.0-alpha 132 10/28/2023
23.42.0-alpha 103 10/22/2023

This package is used internally by NetDaemon and not intended to be used directly. That means things could change if needed without prior notice