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.Lights
open NightLight.Core.Moods
open NightLight.Core.Lights
let getDesiredColorAndBrightness bulb mood =
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.PartsOfDay
open NightLight.ZigbeeEvents
open NightLight.ZigbeeCommands
open NightLight.Moods
open NightLight.Lights
open NightLight.Configuration
open NightLight.Core.Models
open NightLight.Core.PartsOfDay
open NightLight.Core.ZigbeeEvents
open NightLight.Core.ZigbeeCommands
open NightLight.Core.Moods
open NightLight.Core.Lights
open NightLight.Core.Configuration
open FsToolkit.ErrorHandling
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 =
| IkeaBulb

View file

@ -1,4 +1,4 @@
module NightLight.Models
module NightLight.Core.Models
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 =
| White

View file

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

View file

@ -1,8 +1,8 @@
module internal NightLight.ZigbeeCommands
module internal NightLight.Core.ZigbeeCommands
open System.Text.Json.Nodes
open NightLight.Models
open NightLight.Lights
open NightLight.Core.Models
open NightLight.Core.Lights
let generateZigbeeCommand friendlyName targetColor targetBrightness =
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 FSharp.Data