Skip to content

Commit 1ff5e0d

Browse files
author
Jamie D
committed
Changes for latest ST api
1 parent 16ea2ba commit 1ff5e0d

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

GitVersion.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
mode: Mainline
2-
next-version: 0.20.0
2+
next-version: 0.21.0
33
assembly-versioning-scheme: MajorMinorPatch
44
assembly-file-versioning-format: '{Major}.{Minor}.{Patch}'
55
assembly-informational-format: '{FullBuildMetaData}'

SmartThingsTerminal.sln

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30204.135
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.1.32228.430
55
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartThingsTerminal", "SmartThingsTerminal\SmartThingsTerminal.csproj", "{9DF95721-8429-48A4-BFA7-8F1C006E8322}"
7-
EndProject
86
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8AB9BD79-B877-4441-B6A4-88F1F71EE4E2}"
97
ProjectSection(SolutionItems) = preProject
108
.gitignore = .gitignore
@@ -22,16 +20,18 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{0A86A10D-D
2220
docs\pat.png = docs\pat.png
2321
EndProjectSection
2422
EndProject
23+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "SmartThingsTerminal", "SmartThingsTerminal\SmartThingsTerminal.csproj", "{6798844B-65D3-4747-90B4-2186EE664C97}"
24+
EndProject
2525
Global
2626
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2727
Debug|Any CPU = Debug|Any CPU
2828
Release|Any CPU = Release|Any CPU
2929
EndGlobalSection
3030
GlobalSection(ProjectConfigurationPlatforms) = postSolution
31-
{9DF95721-8429-48A4-BFA7-8F1C006E8322}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32-
{9DF95721-8429-48A4-BFA7-8F1C006E8322}.Debug|Any CPU.Build.0 = Debug|Any CPU
33-
{9DF95721-8429-48A4-BFA7-8F1C006E8322}.Release|Any CPU.ActiveCfg = Release|Any CPU
34-
{9DF95721-8429-48A4-BFA7-8F1C006E8322}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{6798844B-65D3-4747-90B4-2186EE664C97}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{6798844B-65D3-4747-90B4-2186EE664C97}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{6798844B-65D3-4747-90B4-2186EE664C97}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{6798844B-65D3-4747-90B4-2186EE664C97}.Release|Any CPU.Build.0 = Release|Any CPU
3535
EndGlobalSection
3636
GlobalSection(SolutionProperties) = preSolution
3737
HideSolutionNode = FALSE

SmartThingsTerminal/API/SmartThingsClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,12 +410,12 @@ public Rule DeleteRule(string ruleId, string locationId)
410410
return _rulesApi.DeleteRule(_accessToken, ruleId, locationId);
411411
}
412412

413-
public Location UpdateLocation(string locationId, UpdateLocationRequest locationRequest)
413+
public UpdateLocationResponse UpdateLocation(string locationId, UpdateLocationRequest locationRequest)
414414
{
415415
return _locationsApi.UpdateLocation(_accessToken, locationId, locationRequest);
416416
}
417417

418-
public Location CreateLocation(CreateLocationRequest locationRequest)
418+
public CreateLocationResponse CreateLocation(CreateLocationRequest locationRequest)
419419
{
420420
return _locationsApi.CreateLocation(_accessToken, locationRequest);
421421
}

SmartThingsTerminal/SmartThingsTerminal.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
<None Remove="Properties\launchSettings.json" />
2020
</ItemGroup>
2121

22-
<ItemGroup>
23-
<PackageReference Include="SmartThingsNet" Version="0.6.0" />
22+
<ItemGroup>
2423
<PackageReference Include="CommandLineParser" Version="2.8.0" />
2524
<PackageReference Include="dotenv.net" Version="2.1.1" />
25+
<PackageReference Include="SmartThingsNet" Version="0.7.0" />
2626
<PackageReference Include="Terminal.Gui" Version="1.4.0" />
2727
</ItemGroup>
2828

0 commit comments

Comments
 (0)