Fix incorrect namespaces
This commit is contained in:
parent
7ea6e49001
commit
5219abfb4b
9 changed files with 24 additions and 24 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module internal NightLight.Lights
|
||||
module internal NightLight.Core.Lights
|
||||
|
||||
open NightLight.Moods
|
||||
open NightLight.Core.Moods
|
||||
|
||||
type Bulb =
|
||||
| IkeaBulb
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module NightLight.Models
|
||||
module NightLight.Core.Models
|
||||
|
||||
open System
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
module internal NightLight.Moods
|
||||
module internal NightLight.Core.Moods
|
||||
|
||||
open NightLight.PartsOfDay
|
||||
open NightLight.Core.PartsOfDay
|
||||
|
||||
type Mood =
|
||||
| White
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
module internal NightLight.PartsOfDay
|
||||
module internal NightLight.Core.PartsOfDay
|
||||
|
||||
open System
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ open System.Threading.Tasks
|
|||
open Microsoft.Extensions.Logging
|
||||
open MQTTnet
|
||||
open MQTTnet.Protocol
|
||||
open NightLight.Models
|
||||
open NightLight.Core
|
||||
open NightLight.Core.Models
|
||||
open NightLight.Core.Core
|
||||
|
||||
let private generateMqttMessage zigbeeCommand =
|
||||
MqttApplicationMessageBuilder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue