Fix incorrect namespaces

This commit is contained in:
Sven van Heugten 2026-01-03 19:55:51 +01:00
parent 7ea6e49001
commit 5219abfb4b
9 changed files with 24 additions and 24 deletions

View file

@ -1,7 +1,7 @@
module internal NightLight.Configuration module internal NightLight.Core.Configuration
open NightLight.Moods open NightLight.Core.Moods
open NightLight.Lights open NightLight.Core.Lights
let getDesiredColorAndBrightness bulb mood = let getDesiredColorAndBrightness bulb mood =
let white = ColorByCoordinates(0.3227, 0.329) let white = ColorByCoordinates(0.3227, 0.329)

View file

@ -1,12 +1,12 @@
module NightLight.Core module NightLight.Core.Core
open NightLight.Models open NightLight.Core.Models
open NightLight.PartsOfDay open NightLight.Core.PartsOfDay
open NightLight.ZigbeeEvents open NightLight.Core.ZigbeeEvents
open NightLight.ZigbeeCommands open NightLight.Core.ZigbeeCommands
open NightLight.Moods open NightLight.Core.Moods
open NightLight.Lights open NightLight.Core.Lights
open NightLight.Configuration open NightLight.Core.Configuration
open FsToolkit.ErrorHandling open FsToolkit.ErrorHandling
let internal tryFindLight friendlyName = let internal tryFindLight friendlyName =

View file

@ -1,6 +1,6 @@
module internal NightLight.Lights module internal NightLight.Core.Lights
open NightLight.Moods open NightLight.Core.Moods
type Bulb = type Bulb =
| IkeaBulb | IkeaBulb

View file

@ -1,4 +1,4 @@
module NightLight.Models module NightLight.Core.Models
open System open System

View file

@ -1,6 +1,6 @@
module internal NightLight.Moods module internal NightLight.Core.Moods
open NightLight.PartsOfDay open NightLight.Core.PartsOfDay
type Mood = type Mood =
| White | White

View file

@ -1,4 +1,4 @@
module internal NightLight.PartsOfDay module internal NightLight.Core.PartsOfDay
open System open System

View file

@ -1,8 +1,8 @@
module internal NightLight.ZigbeeCommands module internal NightLight.Core.ZigbeeCommands
open System.Text.Json.Nodes open System.Text.Json.Nodes
open NightLight.Models open NightLight.Core.Models
open NightLight.Lights open NightLight.Core.Lights
let generateZigbeeCommand friendlyName targetColor targetBrightness = let generateZigbeeCommand friendlyName targetColor targetBrightness =
let commandObj = JsonObject() let commandObj = JsonObject()

View file

@ -1,6 +1,6 @@
module internal NightLight.ZigbeeEvents module internal NightLight.Core.ZigbeeEvents
open NightLight.Models open NightLight.Core.Models
open FsToolkit.ErrorHandling open FsToolkit.ErrorHandling
open FSharp.Data open FSharp.Data

View file

@ -5,8 +5,8 @@ open System.Threading.Tasks
open Microsoft.Extensions.Logging open Microsoft.Extensions.Logging
open MQTTnet open MQTTnet
open MQTTnet.Protocol open MQTTnet.Protocol
open NightLight.Models open NightLight.Core.Models
open NightLight.Core open NightLight.Core.Core
let private generateMqttMessage zigbeeCommand = let private generateMqttMessage zigbeeCommand =
MqttApplicationMessageBuilder() MqttApplicationMessageBuilder()