-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[viessmann] Fix JSON parsing and update endpoints (#490)
* [viessmann] update to new IDP version Signed-off-by: Ronny Grun <[email protected]> * [viessmann] update to new endpoints and fix JSON Signed-off-by: Ronny Grun <[email protected]> --------- Signed-off-by: Ronny Grun <[email protected]>
- Loading branch information
Showing
5 changed files
with
67 additions
and
5 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
26 changes: 26 additions & 0 deletions
26
...main/java/org/smarthomej/binding/viessmann/internal/dto/features/FeatureErrorEntries.java
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,26 @@ | ||
/** | ||
* Copyright (c) 2021-2023 Contributors to the SmartHome/J project | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package org.smarthomej.binding.viessmann.internal.dto.features; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* The {@link FeatureErrorEntries} provides all data of a feature | ||
* | ||
* @author Ronny Grun - Initial contribution | ||
*/ | ||
public class FeatureErrorEntries { | ||
|
||
public String type; | ||
public List<FeatureErrorValue> value; | ||
} |
30 changes: 30 additions & 0 deletions
30
...c/main/java/org/smarthomej/binding/viessmann/internal/dto/features/FeatureErrorValue.java
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,30 @@ | ||
/** | ||
* Copyright (c) 2021-2023 Contributors to the SmartHome/J project | ||
* | ||
* See the NOTICE file(s) distributed with this work for additional | ||
* information. | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0 | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
*/ | ||
package org.smarthomej.binding.viessmann.internal.dto.features; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* The {@link FeatureErrorValue} provides all data of a feature | ||
* | ||
* @author Ronny Grun - Initial contribution | ||
*/ | ||
public class FeatureErrorValue { | ||
public String errorCode; | ||
|
||
public String accessLevel; | ||
|
||
public String priority; | ||
|
||
public List<Object> audiences; | ||
} |
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