Remove PowerMonitor.Manager project and its dependencies

This commit is contained in:
Marius
2026-03-10 12:27:06 +02:00
parent 41991e78b5
commit 27648ae57c
19 changed files with 1 additions and 1039 deletions
-25
View File
@@ -1,25 +0,0 @@
using HomeAssistant.Models;
using NetDaemon.Extensions.MqttEntityManager;
namespace PowerMonitor.Models;
public sealed class PowerMonitorEntity : EntityCreateModel
{
public string Domain { get; }
public string Identifier { get; }
public string Name { get; }
public PowerMonitorEntity(string domain, string identifier, string name)
{
Domain = domain;
Identifier = identifier;
EntityId = $"{Domain}.{Identifier}";
Name = string.IsNullOrWhiteSpace(name) ? identifier : name;
Options = new EntityCreationOptions
{
UniqueId = EntityId,
Name = Name
};
}
}