-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
105 changed files
with
1,268 additions
and
1,188 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
CACHE MANIFEST | ||
# Version 1.17.169 | ||
# Version 1.17.170 | ||
|
||
CACHE: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
192.168.1.15= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
using HA4IoT.Contracts.Components; | ||
using HA4IoT.Contracts.Core; | ||
|
||
namespace HA4IoT.Contracts.Actuators | ||
{ | ||
public interface IFan : IComponent | ||
{ | ||
IAction SetNextLevelAction { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class ButtonFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class ColorFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/HumidityMeasurementFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class HumidityMeasurementFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JToken.FromObject(this); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class LevelFeature : IComponentFeature | ||
{ | ||
public int MaxLevel { get; set; } | ||
|
||
public int DefaultActiveLevel { get; set; } | ||
} | ||
} |
14 changes: 0 additions & 14 deletions
14
Core/HA4IoT.Contracts/Components/Features/LevelStateFeature.cs
This file was deleted.
Oops, something went wrong.
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/MotionDetectionFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class MotionDetectionFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
9 changes: 1 addition & 8 deletions
9
Core/HA4IoT.Contracts/Components/Features/PositionTrackingFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,7 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class PositionTrackingFeature : IComponentFeature | ||
{ | ||
public int MaxPosition { get; set; } | ||
|
||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/PowerStateFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class PowerStateFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
6 changes: 0 additions & 6 deletions
6
Core/HA4IoT.Contracts/Components/Features/StateMachineFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,9 @@ | ||
using System.Collections.Generic; | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class StateMachineFeature : IComponentFeature | ||
{ | ||
public HashSet<string> SupportedStates { get; } = new HashSet<string>(); | ||
|
||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/TemperatureMeasurementFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class TemperatureMeasurementFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/VerticalMovingFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class VerticalMovingFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
8 changes: 1 addition & 7 deletions
8
Core/HA4IoT.Contracts/Components/Features/WindowStateFeature.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components.Features | ||
namespace HA4IoT.Contracts.Components.Features | ||
{ | ||
public class WindowStateFeature : IComponentFeature | ||
{ | ||
public JToken Serialize() | ||
{ | ||
return JObject.FromObject(this); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
using Newtonsoft.Json.Linq; | ||
|
||
namespace HA4IoT.Contracts.Components | ||
namespace HA4IoT.Contracts.Components | ||
{ | ||
public interface IComponentFeature | ||
{ | ||
JToken Serialize(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.