-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[linky] Yet another website underlaying API modification (#17538)
* Yet another website underlaying API modification * Correction for current and previous week, month, year * Added unitHing * Switch peek power to kVA * Adding new cookie and user agent Signed-off-by: Gaël L'hopital <gael@lhopital.org>
- Loading branch information
Showing
9 changed files
with
223 additions
and
144 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
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
80 changes: 80 additions & 0 deletions
80
...openhab.binding.linky/src/main/java/org/openhab/binding/linky/internal/dto/PrmDetail.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,80 @@ | ||
/** | ||
* Copyright (c) 2010-2024 Contributors to the openHAB 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.openhab.binding.linky.internal.dto; | ||
|
||
import java.util.ArrayList; | ||
|
||
/** | ||
* The {@link PrmDetail} holds detailed informations about prm configuration | ||
* | ||
* @author Gaël L'hopital - Initial contribution | ||
*/ | ||
public class PrmDetail { | ||
public record Adresse(String ligne2, String ligne3, String ligne4, String ligne5, String ligne6) { | ||
} | ||
|
||
public record DicEntry(String code, String libelle) { | ||
} | ||
|
||
public record Measure(String unite, String valeur) { | ||
} | ||
|
||
public record AlimentationPrincipale(Object puissanceRaccordementInjection, | ||
Measure puissanceRaccordementSoutirage) { | ||
} | ||
|
||
public record Compteur(boolean accessibilite, boolean ticActivee, boolean ticStandard) { | ||
} | ||
|
||
public record Contrat(DicEntry typeContrat, String referenceContrat) { | ||
} | ||
|
||
public record Disjoncteur(DicEntry calibre) { | ||
} | ||
|
||
public record DispositifComptage(DicEntry typeComptage) { | ||
} | ||
|
||
public record GrilleFournisseur(DicEntry calendrier, Object classeTemporelle) { | ||
} | ||
|
||
public record InformationsContractuelles(Contrat contrat, DicEntry etatContractuel, SiContractuel siContractuel) { | ||
} | ||
|
||
public record SiContractuel(DicEntry application) { | ||
} | ||
|
||
public record SituationAlimentationDto(AlimentationPrincipale alimentationPrincipale) { | ||
} | ||
|
||
public record SituationComptageDto(ArrayList<Compteur> compteurs, Disjoncteur disjoncteur, | ||
DispositifComptage dispositifComptage) { | ||
} | ||
|
||
public record SituationContractuelleDto(InformationsContractuelles informationsContractuelles, | ||
StructureTarifaire structureTarifaire, String fournisseur, DicEntry segment) { | ||
} | ||
|
||
public record StructureTarifaire(Measure puissanceSouscrite, GrilleFournisseur grilleFournisseur) { | ||
} | ||
|
||
public record SyntheseContractuelleDto(DicEntry niveauOuvertureServices) { | ||
} | ||
|
||
public Adresse adresse; | ||
public String segment; | ||
public SyntheseContractuelleDto syntheseContractuelleDto; | ||
public SituationContractuelleDto[] situationContractuelleDtos; | ||
public SituationAlimentationDto situationAlimentationDto; | ||
public SituationComptageDto situationComptageDto; | ||
} |
Oops, something went wrong.