From c49a14900db105d7eb76a5d9a318a6f154f8c710 Mon Sep 17 00:00:00 2001 From: Frank Bakker Date: Sat, 14 Sep 2024 21:29:26 +0200 Subject: [PATCH] Remove constructors that take client types from public HassModel API --- .../Internal/HassObjectMapper.cs | 11 ++++++- .../Registry/ConversationOptions.cs | 32 +++++-------------- .../Registry/EntityOptions.cs | 13 -------- 3 files changed, 18 insertions(+), 38 deletions(-) diff --git a/src/HassModel/NetDeamon.HassModel/Internal/HassObjectMapper.cs b/src/HassModel/NetDeamon.HassModel/Internal/HassObjectMapper.cs index ddceca4e..03693a04 100644 --- a/src/HassModel/NetDeamon.HassModel/Internal/HassObjectMapper.cs +++ b/src/HassModel/NetDeamon.HassModel/Internal/HassObjectMapper.cs @@ -120,8 +120,17 @@ public static EntityRegistration Map(this HassEntity hassEntity, IHaRegistryNavi Device = device, Labels = hassEntity.Labels.Select(registry.GetLabel).OfType