bajansen / home-assistant-frank_energie

Custom Component voor Home Assistant Frank Energie prijsinformatie
68 stars 19 forks source link

Facturen #96

Open HiDiHo01 opened 11 months ago

HiDiHo01 commented 11 months ago

In de app staat het verbruik in kWh en kWh per dag met bijbehorende kosten (dus ook in de API) Is er een mogelijkheid om dit ook in deze integratie te krijgen?

Daarnaast heb ik in mijn Fork ook alle facturen en totaal kosten sinds contract.

Hier is het GraphQL dataschema: {'data': {'__schema': {'types': [{'name': 'ActualAndExpectedMeterReadingsPayload', 'fields': [{'name': '_id'}, {'name': 'actualHourReadings'}, {'name': 'completenessPercentage'}, {'name': 'expectedHourReadings'}]}, {'name': 'AddContractExpireDateReminderInput', 'fields': None}, {'name': 'AdminConnectionsFilterInput', 'fields': None}, {'name': 'AdminConnectionsOrderByFields', 'fields': None}, {'name': 'AdminConnectionsOrderbyInput', 'fields': None}, {'name': 'AdminConnectionsPaginationInput', 'fields': None}, {'name': 'AdminConnectionsPayload', 'fields': [{'name': '_id'}, {'name': 'items'}, {'name': 'total'}]}, {'name': 'AdminConnectionsSearchInput', 'fields': None}, {'name': 'AdminCreateConnectionInput', 'fields': None}, {'name': 'AdminCreateInviteLinkInput', 'fields': None}, {'name': 'AdminResyncSignupsFailureReason', 'fields': None}, {'name': 'AdminResyncSignupsPayload', 'fields': [{'name': 'reason'}, {'name': 'success'}]}, {'name': 'AdminRetrySignupFailureReason', 'fields': None}, {'name': 'AdminRetrySignupPayload', 'fields': [{'name': 'reason'}, {'name': 'success'}]}, {'name': 'AdminSignupsDateFilter', 'fields': None}, {'name': 'AdminSignupsFilterInput', 'fields': None}, {'name': 'AdminSignupsOrderByFields', 'fields': None}, {'name': 'AdminSignupsOrderbyInput', 'fields': None}, {'name': 'AdminSignupsPaginationInput', 'fields': None}, {'name': 'AdminSignupsPayload', 'fields': [{'name': '_id'}, {'name': 'items'}, {'name': 'total'}]}, {'name': 'AdminUpdateConnectionInput', 'fields': None}, {'name': 'AdminUpdateSignupInput', 'fields': None}, {'name': 'AdminUpdateUserInput', 'fields': None}, {'name': 'AdminUserRights', 'fields': None}, {'name': 'AdminUsersFilterInput', 'fields': None}, {'name': 'AdminUsersOrderByFields', 'fields': None}, {'name': 'AdminUsersOrderbyInput', 'fields': None}, {'name': 'AdminUsersPaginationInput', 'fields': None}, {'name': 'AdminUsersPayload', 'fields': [{'name': '_id'}, {'name': 'items'}, {'name': 'total'}]}, {'name': 'AdvancePaymentRow', 'fields': [{'name': 'Amount'}, {'name': 'EndDate'}, {'name': 'Price'}, {'name': 'PriceComponentType'}, {'name': 'PriceComponentTypeLocalized'}, {'name': 'PriceUnit'}, {'name': 'PriceUnitLocalized'}, {'name': 'ProductDescriptionLocalized'}, {'name': 'ProductGroup'}, {'name': 'ProductId'}, {'name': 'RangeEnd'}, {'name': 'RangeStart'}, {'name': 'StartDate'}, {'name': 'TotalAmount'}, {'name': 'Usage'}, {'name': 'VatAmount'}, {'name': 'VatPercentage'}]}, {'name': 'Boolean', 'fields': None}, {'name': 'CheckMultipleConnectionsInput', 'fields': None}, {'name': 'CheckMultipleConnectionsType', 'fields': None}, {'name': 'ChoosableUserReward', 'fields': [{'name': '_id'}, {'name': 'friends'}, {'name': 'period'}, {'name': 'totalConnections'}]}, {'name': 'ChooseRewardInput', 'fields': None}, {'name': 'Connection', 'fields': [{'name': 'cluster'}, {'name': 'connectionId'}, {'name': 'contracts'}, {'name': 'createdAt'}, {'name': 'deliveryStartPlannedAt'}, {'name': 'deliveryStartedAt'}, {'name': 'ecedoConnection'}, {'name': 'estimatedFeedIn'}, {'name': 'firstMeterReadingDate'}, {'name': 'id'}, {'name': 'lastMeterReadingDate'}, {'name': 'segment'}, {'name': 'status'}, {'name': 'updatedAt'}, {'name': 'user'}, {'name': 'userId'}]}, {'name': 'ConnectionAmounts', 'fields': [{'name': 'AgreedAmount'}, {'name': 'Amount'}, {'name': 'CalculatedAmount'}, {'name': 'ConnectionId'}, {'name': 'EAN'}, {'name': 'MarketSegment'}]}, {'name': 'ConnectionSegment', 'fields': None}, {'name': 'ConnectionStatus', 'fields': None}, {'name': 'Contract', 'fields': [{'name': 'connection'}, {'name': 'connectionId'}, {'name': 'contractId'}, {'name': 'contractType'}, {'name': 'createdAt'}, {'name': 'endDate'}, {'name': 'id'}, {'name': 'propositionReference'}, {'name': 'startDate'}, {'name': 'status'}, {'name': 'updatedAt'}]}, {'name': 'ContractSwitchType', 'fields': None}, {'name': 'ContractType', 'fields': None}, {'name': 'CostsDeltaItem', 'fields': [{'name': '_id'}, {'name': 'actualCosts'}, {'name': 'date'}, {'name': 'expectedCosts'}]}, {'name': 'CostsDeltaPayload', 'fields': [{'name': '_id'}, {'name': 'actualCostsTotal'}, {'name': 'expectedCostsTotal'}, {'name': 'items'}]}, {'name': 'CreatePushNotificationPriceAlertInput', 'fields': None}, {'name': 'CreateSignupInput', 'fields': None}, {'name': 'CreateSignupPayload', 'fields': [{'name': 'hasMeteringPoints'}, {'name': 'id'}, {'name': 'reference'}]}, {'name': 'CreditCheck', 'fields': [{'name': 'id'}, {'name': 'provider'}, {'name': 'providerScore'}]}, {'name': 'CustomerMarketPricesItem', 'fields': [{'name': 'consumptionSourcingMarkupPrice'}, {'name': 'date'}, {'name': 'energyTax'}, {'name': 'from'}, {'name': 'id'}, {'name': 'marketPrice'}, {'name': 'marketPriceTax'}, {'name': 'till'}]}, {'name': 'CustomerMarketPricesPayload', 'fields': [{'name': 'electricityPrices'}, {'name': 'gasPrices'}, {'name': 'id'}]}, {'name': 'Date', 'fields': None}, {'name': 'DateTime', 'fields': None}, {'name': 'DefaultRewardsPayload', 'fields': [{'name': 'discountPerconnection'}, {'name': 'treesAmountPerconnection'}]}, {'name': 'DeliverySite', 'fields': [{'name': 'address'}, {'name': 'addressHasMultipleSites'}, {'name': 'reference'}, {'name': 'segments'}]}, {'name': 'DeliverySiteAddress', 'fields': [{'name': 'city'}, {'name': 'houseNumber'}, {'name': 'houseNumberAddition'}, {'name': 'street'}, {'name': 'zipCode'}]}, {'name': 'DraftAdvancePaymentInput', 'fields': None}, {'name': 'DraftAdvancePaymentPayload', 'fields': [{'name': 'AdvancePaymentRows'}, {'name': 'AgreedAmount'}, {'name': 'Amount'}, {'name': 'CalculatedAmount'}, {'name': 'ClusterId'}, {'name': 'ClusterReference'}, {'name': 'CombinedAdvancePaymentRows'}, {'name': 'Comment'}, {'name': 'ConnectionAmounts'}, {'name': 'EndDate'}, {'name': 'HasAdvancePayment'}, {'name': 'StartDate'}, {'name': '_id'}]}, {'name': 'DraftInvoiceMonth', 'fields': [{'name': '_id'}, {'name': 'electricity'}, {'name': 'energyTaxRenewableEnergyMarkup'}, {'name': 'feedIn'}, {'name': 'fixedFee'}, {'name': 'gas'}, {'name': 'label'}, {'name': 'networkCosts'}, {'name': 'taxCredit'}, {'name': 'totalAmount'}, {'name': 'totalFixedAmount'}, {'name': 'totalVariableAmount'}]}, {'name': 'DraftInvoicePriceItem', 'fields': [{'name': 'expectedConsumption'}, {'name': 'marketPrice'}, {'name': 'marketPricePerUnit'}, {'name': 'marketPriceTax'}, {'name': 'marketPriceTotal'}]}, {'name': 'DraftInvoicesInput', 'fields': None}, {'name': 'DraftInvoicesPayload', 'fields': [{'name': '_id'}, {'name': 'months'}]}, {'name': 'EcedoAddress', 'fields': [{'name': 'Addition'}, {'name': 'AddressLine1'}, {'name': 'AddressLine2'}, {'name': 'City'}, {'name': 'Country'}, {'name': 'FullAddress'}, {'name': 'Number'}, {'name': 'Street'}, {'name': 'ZipCode'}]}, {'name': 'EcedoConnection', 'fields': [{'name': 'ActiveAnnualStandardUsageType'}, {'name': 'Address'}, {'name': 'AdministrativeStatusSmartMeter'}, {'name': 'AdministrativeStatusSmartMeterLocalized'}, {'name': 'AnnualStandardUsage'}, {'name': 'BillAsSingle'}, {'name': 'CapTarCode'}, {'name': 'ClusterId'}, {'name': 'ClusterReference'}, {'name': 'Comment'}, {'name': 'ConnectionId'}, {'name': 'ConnectionProperties'}, {'name': 'Contract'}, {'name': 'Description'}, {'name': 'EAN'}, {'name': 'ExpectedAnnualStandardUsage'}, {'name': 'Gos'}, {'name': 'GosRegion'}, {'name': 'GosRegionLocalized'}, {'name': 'GridArea'}, {'name': 'GridOperator'}, {'name': 'GridOperatorEAN'}, {'name': 'HasDoubleUsage'}, {'name': 'HasSingleUsage'}, {'name': 'HasSmartMeter'}, {'name': 'HasSmartMeterService'}, {'name': 'MarketSegment'}, {'name': 'MarketSegmentLocalized'}, {'name': 'MeeliftContract'}, {'name': 'Meter'}, {'name': 'MeteringMethod'}, {'name': 'OrganizationId'}, {'name': 'Profile'}, {'name': 'RequestP4IntervalReadings'}, {'name': 'Status'}, {'name': 'StatusLocalized'}, {'name': 'SwitchType'}, {'name': 'SwitchTypeLocalized'}, {'name': 'TypeOfSupply'}, {'name': 'TypeOfSupplyLocalized'}, {'name': 'UsageType'}, {'name': 'UsageTypeLocalized'}, {'name': 'id'}]}, {'name': 'EcedoConnectionAnnualStandardUsage', 'fields': [{'name': 'OffPeakUsage'}, {'name': 'OffPeakUsageODN'}, {'name': 'PeakUsage'}, {'name': 'PeakUsageODN'}, {'name': 'SingleUsage'}, {'name': 'SingleUsageODN'}]}, {'name': 'EcedoConnectionContract', 'fields': [{'name': 'AgreementDate'}, {'name': 'Channel'}, {'name': 'Comment'}, {'name': 'ContractId'}, {'name': 'EndDate'}, {'name': 'EndReason'}, {'name': 'EndReasonLocalized'}, {'name': 'HasAdvancePayment'}, {'name': 'HasAdvancePaymentLocalized'}, {'name': 'InvoiceFrequency'}, {'name': 'InvoiceFrequencyLocalized'}, {'name': 'MeeliftContractId'}, {'name': 'OrganizationId'}, {'name': 'OriginalEndDate'}, {'name': 'ProposalValidUntil'}, {'name': 'PropositionDescription'}, {'name': 'PropositionDuration'}, {'name': 'PropositionId'}, {'name': 'PropositionReference'}, {'name': 'Reference'}, {'name': 'ResellerOrganizationId'}, {'name': 'SalesReference'}, {'name': 'StartDate'}, {'name': 'StartReason'}, {'name': 'StartReasonLocalized'}, {'name': 'Status'}, {'name': 'StatusLocalized'}]}, {'name': 'EcedoConnectionMeeliftContract', 'fields': [{'name': 'AgreementDate'}, {'name': 'Comment'}, {'name': 'ContractId'}, {'name': 'EndDate'}, {'name': 'EnergieleveringContractId'}, {'name': 'MeansOfProductionId'}, {'name': 'OrganizationId'}, {'name': 'OriginalEndDate'}, {'name': 'ProposalValidUntil'}, {'name': 'PropositionDescription'}, {'name': 'PropositionId'}, {'name': 'PropositionReference'}, {'name': 'Reference'}, {'name': 'StartDate'}, {'name': 'Status'}, {'name': 'StatusLocalized'}]}, {'name': 'EcedoConnectionMeter', 'fields': [{'name': 'CommunicationStatusCode'}, {'name': 'CommunicationStatusCodeLocalized'}, {'name': 'EndDate'}, {'name': 'MeasureUnit'}, {'name': 'MeasureUnitLocalized'}, {'name': 'MeterDialPositionOrderType'}, {'name': 'MeterDialPositionOrderTypeLocalized'}, {'name': 'MeterId'}, {'name': 'MeterNumber'}, {'name': 'MeterRegistersDirectionType'}, {'name': 'MeterRegistersDirectionTypeLocalized'}, {'name': 'MeterType'}, {'name': 'MeterTypeLocalized'}, {'name': 'NoDials'}, {'name': 'NoDigits'}, {'name': 'StartDate'}]}, {'name': 'EcedoConnectionProperty', 'fields': [{'name': 'ConnectionPropertyType'}, {'name': 'ConnectionPropertyTypeLocalized'}, {'name': 'ConnectionPropertyValue'}, {'name': 'ConnectionPropertyValueLocalized'}]}, {'name': 'EcedoDebtor', 'fields': [{'name': 'AdvancePaymentScheduleType'}, {'name': 'AdvancePaymentScheduleTypeLocalized'}, {'name': 'BankAccountNumber'}, {'name': 'BankAccountType'}, {'name': 'BankAccountTypeLocalized'}, {'name': 'DebtorId'}, {'name': 'DebtorName'}, {'name': 'FullBankAccountNumber'}, {'name': 'MandateDate'}, {'name': 'MandateReference'}, {'name': 'MandateType'}, {'name': 'MandateTypeLocalized'}, {'name': 'PaymentMethod'}, {'name': 'PaymentMethodLocalized'}, {'name': 'PaymentReference'}, {'name': 'PaymentTerm'}, {'name': 'PreferredAdvancePaymentInvoiceContactMethod'}, {'name': 'PreferredAdvancePaymentInvoiceContactMethodLocalized'}, {'name': 'PreferredAutomaticCollectionDay'}, {'name': 'PreferredInvoiceDay'}, {'name': 'PreferredSettlementInvoiceContactMethod'}, {'name': 'PreferredSettlementInvoiceContactMethodLocalized'}, {'name': 'PrintAdvancePaymentInvoice'}]}, {'name': 'EcedoOrganization', 'fields': [{'name': 'Address'}, {'name': 'AuthorizedSignatory'}, {'name': 'BadPaymentHistory'}, {'name': 'BusinessAddress'}, {'name': 'Channel'}, {'name': 'Debtor'}, {'name': 'EInvoiceAddress'}, {'name': 'Email'}, {'name': 'FaxNumber'}, {'name': 'HasReceiver'}, {'name': 'IsParent'}, {'name': 'IsProducer'}, {'name': 'KvKNumber'}, {'name': 'MobileNumber'}, {'name': 'Name'}, {'name': 'OrganizationGroup'}, {'name': 'OrganizationGroupId'}, {'name': 'OrganizationId'}, {'name': 'OrganizationType'}, {'name': 'OrganizationTypeLocalized'}, {'name': 'OriginReference'}, {'name': 'ParentOrganizationId'}, {'name': 'Person'}, {'name': 'PhoneNumber'}, {'name': 'PreferredContactMethod'}, {'name': 'PreferredContactMethodLocalized'}, {'name': 'PrintWelcomeLetter'}, {'name': 'ProductOrServiceInfo'}, {'name': 'Reference'}, {'name': 'RegisteredSeat'}, {'name': 'RepresentativeId'}, {'name': 'SalesReference'}, {'name': 'VatNumber'}, {'name': 'WithCollectionAgency'}]}, {'name': 'EcedoPerson', 'fields': [{'name': 'BirthDate'}, {'name': 'FirstName'}, {'name': 'FullName'}, {'name': 'Gender'}, {'name': 'GenderLocalized'}, {'name': 'Infix'}, {'name': 'Initials'}, {'name': 'LastName'}, {'name': 'PersonId'}, {'name': 'Title'}]}, {'name': 'Email', 'fields': None}, {'name': 'EnumCostsDeltaType', 'fields': None}, {'name': 'FinalizeSignupConsumptionInput', 'fields': None}, {'name': 'FinalizeSignupFailureReason', 'fields': None}, {'name': 'FinalizeSignupInput', 'fields': None}, {'name': 'FinalizeSignupMailingAddressInput', 'fields': None}, {'name': 'FinalizeSignupPayload', 'fields': [{'name': 'reason'}, {'name': 'success'}]}, {'name': 'FinalizeSignupPersonInput', 'fields': None}, {'name': 'Float', 'fields': None}, {'name': 'FlowEnum', 'fields': None}, {'name': 'GenderEnum', 'fields': None}, {'name': 'GetMeterReadingsExportPresignedUrlPayload', 'fields': [{'name': 'url'}]}, {'name': 'GetMinimumEventDateInput', 'fields': None}, {'name': 'GranularityEnum', 'fields': None}, {'name': 'ID', 'fields': None}, {'name': 'Int', 'fields': None}, {'name': 'InviteLink', 'fields': [{'name': 'User'}, {'name': 'awardRewardType'}, {'name': 'backendOnly'}, {'name': 'createdAt'}, {'name': 'description'}, {'name': 'discountPerConnection'}, {'name': 'fromName'}, {'name': 'id'}, {'name': 'imageUrl'}, {'name': 'slug'}, {'name': 'status'}, {'name': 'tintColor'}, {'name': 'treesAmountPerConnection'}, {'name': 'type'}, {'name': 'updatedAt'}, {'name': 'usedCount'}]}, {'name': 'InviteLinkAwardRewardType', 'fields': None}, {'name': 'InviteLinkFriend', 'fields': [{'name': 'amount'}, {'name': 'friendName'}, {'name': 'id'}, {'name': 'status'}]}, {'name': 'InviteLinkTypeEnum', 'fields': None}, {'name': 'Invoice', 'fields': [{'name': 'Amount'}, {'name': 'ClusterId'}, {'name': 'ClusterReference'}, {'name': 'EndDate'}, {'name': 'InvoiceDate'}, {'name': 'InvoiceId'}, {'name': 'InvoiceNumber'}, {'name': 'InvoiceType'}, {'name': 'InvoiceTypeLocalized'}, {'name': 'IsCredit'}, {'name': 'IsFinal'}, {'name': 'OrganizationId'}, {'name': 'PaymentDueDate'}, {'name': 'PeriodDescription'}, {'name': 'StartDate'}, {'name': 'Status'}, {'name': 'StatusLocalized'}, {'name': 'TotalAmount'}, {'name': 'VatAmount'}, {'name': 'id'}]}, {'name': 'InvoiceDetailsPayload', 'fields': [{'name': 'costsElectricity'}, {'name': 'costsFixed'}, {'name': 'costsGas'}, {'name': 'costsProfiled'}, {'name': 'costsSettledActual'}, {'name': 'costsSettledProfiled'}, {'name': 'costsTotal'}, {'name': 'id'}, {'name': 'invoiceForPeriod'}, {'name': 'invoiceNumber'}]}, {'name': 'InvoicePdfUrlPayload', 'fields': [{'name': 'expiresAt'}, {'name': 'id'}, {'name': 'url'}]}, {'name': 'InvoicesPayload', 'fields': [{'name': 'allInvoices'}, {'name': 'currentPeriodInvoice'}, {'name': 'previousPeriodInvoice'}, {'name': 'upcomingPeriodInvoice'}]}, {'name': 'JedlixAddress', 'fields': [{'name': 'city'}, {'name': 'country'}, {'name': 'houseNumber'}, {'name': 'postalCode'}, {'name': 'region'}, {'name': 'street'}]}, {'name': 'JedlixAddressLookupPayload', 'fields': [{'name': 'results'}]}, {'name': 'JedlixAddressLookupResultItem', 'fields': [{'name': 'description'}, {'name': 'place_id'}]}, {'name': 'JedlixChargeSettings', 'fields': [{'name': 'departureTimes'}, {'name': 'desiredBatteryLevel'}, {'name': 'directChargingBatteryLevel'}, {'name': 'enableSmartChargingAt'}, {'name': 'id'}, {'name': 'isSmartChargingEnabled'}, {'name': 'isSolarChargingEnabled'}, {'name': 'timeZone'}, {'name': 'vehicleId'}]}, {'name': 'JedlixCharger', 'fields': [{'name': 'chargerState'}, {'name': 'chargingLocationId'}, {'name': 'detail'}, {'name': 'externalId'}, {'name': 'id'}]}, {'name': 'JedlixChargerConnectSession', 'fields': [{'name': 'chargerId'}, {'name': 'chargingLocationId'}, {'name': 'id'}, {'name': 'isFinished'}, {'name': 'redirectInfo'}, {'name': 'redirectUrl'}, {'name': 'startUrl'}]}, {'name': 'JedlixChargerDetail', 'fields': [{'name': 'brand'}, {'name': 'model'}]}, {'name': 'JedlixChargerState', 'fields': [{'name': 'chargePower'}, {'name': 'chargeState'}, {'name': 'timestamp'}]}, {'name': 'JedlixChargingLocation', 'fields': [{'name': 'address'}, {'name': 'chargers'}, {'name': 'coordinates'}, {'name': 'createdAt'}, {'name': 'id'}, {'name': 'updatedAt'}, {'name': 'userId'}]}, {'name': 'JedlixChargingLocationSolarEnergy', 'fields': [{'name': 'dataType'}, {'name': 'solarEnergy'}, {'name': 'timestamp'}]}, {'name': 'JedlixCoordinates', 'fields': [{'name': 'latitude'}, {'name': 'longitude'}]}, {'name': 'JedlixCreateChargerInput', 'fields': None}, {'name': 'JedlixCreateChargingLocationAddressInput', 'fields': None}, {'name': 'JedlixCreateChargingLocationCoordinatesInput', 'fields': None}, {'name': 'JedlixCreateChargingLocationInput', 'fields': None}, {'name': 'JedlixCreateVehicleInput', 'fields': None}, {'name': 'JedlixDepartureTimes', 'fields': [{'name': 'departureTimeOverride'}, {'name': 'friday'}, {'name': 'monday'}, {'name': 'saturday'}, {'name': 'sunday'}, {'name': 'thursday'}, {'name': 'tuesday'}, {'name': 'wednesday'}]}, {'name': 'JedlixFinancialsBenefit', 'fields': [{'name': 'quantityType'}, {'name': 'value'}]}, {'name': 'JedlixFinancialsMoney', 'fields': [{'name': 'amount'}, {'name': 'currency'}]}, {'name': 'JedlixRedirectInfo', 'fields': [{'name': 'includeBody'}, {'name': 'includeCookies'}, {'name': 'includeRedirectUrl'}]}, {'name': 'JedlixRequestVehicleStateUpdatePayload', 'fields': [{'name': 'completedAt'}, {'name': 'correlationId'}, {'name': 'requestedAt'}, {'name': 'vehicleId'}]}, {'name': 'JedlixSession', 'fields': [{'name': 'batteryLevelEnd'}, {'name': 'batteryLevelStart'}, {'name': 'bonus'}, {'name': 'chargeSpeed'}, {'name': 'chargingLocationId'}, {'name': 'departureTime'}, {'name': 'desiredBatteryLevelEnd'}, {'name': 'desiredBatteryLevelStart'}, {'name': 'directChargingBatteryLevel'}, {'name': 'endTime'}, {'name': 'energyAdded'}, {'name': 'financials'}, {'name': 'id'}, {'name': 'isManaged'}, {'name': 'startTime'}, {'name': 'status'}]}, {'name': 'JedlixSessionChargedEnergyInterval', 'fields': [{'name': 'chargedEnergy'}, {'name': 'endTime'}, {'name': 'startTime'}]}, {'name': 'JedlixSessionFinancials', 'fields': [{'name': 'chargingCost'}, {'name': 'earnings'}, {'name': 'savings'}]}, {'name': 'JedlixSessionStatusEnum', 'fields': None}, {'name': 'JedlixSessionsFilterInput', 'fields': None}, {'name': 'JedlixSessionsPayload', 'fields': [{'name': 'items'}, {'name': 'sumBonus'}, {'name': 'sumCosts'}, {'name': 'sumEnergyAdded'}, {'name': 'sumSavings'}]}, {'name': 'JedlixSolarSettings', 'fields': [{'name': 'chargingLocationId'}, {'name': 'solarEfficiency'}, {'name': 'solarMaxProduction'}, {'name': 'solarOrientation'}, {'name': 'solarProductionThreshold'}, {'name': 'solarTiltAngle'}]}, {'name': 'JedlixSupportedCarModel', 'fields': [{'name': 'batteryCapacity'}, {'name': 'brand'}, {'name': 'capabilities'}, {'name': 'carModelId'}, {'name': 'imageUrl'}, {'name': 'isConnectable'}, {'name': 'model'}, {'name': 'range'}, {'name': 'version'}, {'name': 'year'}]}, {'name': 'JedlixUpdateChargeSettingsDepartureTimesInput', 'fields': None}, {'name': 'JedlixUpdateChargeSettingsInput', 'fields': None}, {'name': 'JedlixUpdateChargerConnectSessionCookieInput', 'fields': None}, {'name': 'JedlixUpdateChargerConnectSessionInfoInput', 'fields': None}, {'name': 'JedlixUpdateSolarSettingsInput', 'fields': None}, {'name': 'JedlixUpdateVehicleConnectSessionCookieInput', 'fields': None}, {'name': 'JedlixUpdateVehicleConnectSessionInfoInput', 'fields': None}, {'name': 'JedlixUser', 'fields': [{'name': 'chargingLocations'}, {'name': 'createdAt'}, {'name': 'email'}, {'name': 'firstName'}, {'name': 'id'}, {'name': 'lastName'}, {'name': 'locale'}, {'name': 'tenant'}, {'name': 'updatedAt'}]}, {'name': 'JedlixUserVehicle', 'fields': [{'name': 'carModelId'}, {'name': 'id'}, {'name': 'userId'}]}, {'name': 'JedlixVehicle', 'fields': [{'name': 'capabilities'}, {'name': 'chargeState'}, {'name': 'createdAt'}, {'name': 'details'}, {'name': 'id'}, {'name': 'isConnectable'}, {'name': 'isConnected'}]}, {'name': 'JedlixVehicleCapabilitiesEnum', 'fields': None}, {'name': 'JedlixVehicleChargeState', 'fields': [{'name': 'batteryLevel'}, {'name': 'chargePower'}, {'name': 'chargeState'}, {'name': 'chargingLocationId'}, {'name': 'range'}, {'name': 'updatedAt'}]}, {'name': 'JedlixVehicleChargeStateEnum', 'fields': None}, {'name': 'JedlixVehicleConnectSession', 'fields': [{'name': 'id'}, {'name': 'isFinished'}, {'name': 'redirectInfo'}, {'name': 'redirectUrl'}, {'name': 'startUrl'}, {'name': 'vehicleId'}]}, {'name': 'JedlixVehicleDetails', 'fields': [{'name': 'batteryCapacity'}, {'name': 'brand'}, {'name': 'imageUrl'}, {'name': 'model'}, {'name': 'range'}, {'name': 'version'}, {'name': 'year'}]}, {'name': 'LoginPayload', 'fields': [{'name': 'authToken'}, {'name': 'refreshToken'}, {'name': 'user'}]}, {'name': 'LoginTo', 'fields': None}, {'name': 'MailingAddressInput', 'fields': None}, {'name': 'MarketPrice', 'fields': [{'name': 'energyTaxPrice'}, {'name': 'from'}, {'name': 'marketPrice'}, {'name': 'marketPriceTax'}, {'name': 'priceIncludingMarkup'}, {'name': 'sourcingMarkupPrice'}, {'name': 'till'}]}, {'name': 'MeterReadingsExport', 'fields': [{'name': 'EAN'}, {'name': 'User'}, {'name': 'createdAt'}, {'name': 'filename'}, {'name': 'id'}, {'name': 'key'}, {'name': 'period'}, {'name': 'segment'}, {'name': 'status'}, {'name': 'updatedAt'}]}, {'name': 'MeterReadingsExportPeriod', 'fields': [{'name': 'EAN'}, {'name': 'User'}, {'name': 'cluster'}, {'name': 'createdAt'}, {'name': 'from'}, {'name': 'period'}, {'name': 'segment'}, {'name': 'till'}, {'name': 'type'}, {'name': 'updatedAt'}]}, {'name': 'MeterReadingsExportPeriodTypeEnum', 'fields': None}, {'name': 'MeterReadingsExportStatusEnum', 'fields': None}, {'name': 'MinimumEventEventTypeEnum', 'fields': None}, {'name': 'MonthInsightsDifferenceItem', 'fields': [{'name': 'actualAverageMarketPrice'}, {'name': 'actualAverageUnitPrice'}, {'name': 'actualCosts'}, {'name': 'actualUsage'}, {'name': 'expectedAverageMarketPrice'}, {'name': 'expectedAverageUnitPrice'}, {'name': 'expectedCosts'}, {'name': 'expectedUsage'}]}, {'name': 'MonthInsightsPayload', 'fields': [{'name': '_id'}, {'name': 'actualCostsUntilLastMeterReading'}, {'name': 'electricityDifference'}, {'name': 'expectedCosts'}, {'name': 'expectedCostsElectricity'}, {'name': 'expectedCostsFeedIn'}, {'name': 'expectedCostsFixed'}, {'name': 'expectedCostsGas'}, {'name': 'expectedCostsUntilLastMeterReading'}, {'name': 'feedInDifference'}, {'name': 'gasDifference'}, {'name': 'invoiceId'}, {'name': 'lastMeterReadingDate'}]}, {'name': 'MonthSummaryPayload', 'fields': [{'name': '_id'}, {'name': 'actualCostsUntilLastMeterReadingDate'}, {'name': 'expectedCosts'}, {'name': 'expectedCostsUntilLastMeterReadingDate'}, {'name': 'lastMeterReadingDate'}]}, {'name': 'Mutation', 'fields': [{'name': 'addContractExpireDateReminder'}, {'name': 'addPushNotificationToken'}, {'name': 'adminCreateConnection'}, {'name': 'adminCreateInviteLink'}, {'name': 'adminDeleteConnection'}, {'name': 'adminDeleteSignup'}, {'name': 'adminDeleteUser'}, {'name': 'adminResyncSignups'}, {'name': 'adminRetrySignup'}, {'name': 'adminUpdateConnection'}, {'name': 'adminUpdateSignup'}, {'name': 'adminUpdateUser'}, {'name': 'cancelContractLoss'}, {'name': 'checkResetPasswordToken'}, {'name': 'chooseReward'}, {'name': 'confirmContractSwitch'}, {'name': 'createMeterReadingsExport'}, {'name': 'createPaymentAuthorization'}, {'name': 'createPushNotificationPriceAlert'}, {'name': 'createSignup'}, {'name': 'deleteMeterReadingsExport'}, {'name': 'finalizeSignup'}, {'name': 'getMeterReadingsExportPresignedUrl'}, {'name': 'jedlixCreateCharger'}, {'name': 'jedlixCreateChargingLocation'}, {'name': 'jedlixCreateChargingLocationFromPlaceId'}, {'name': 'jedlixCreateVehicle'}, {'name': 'jedlixDeleteCharger'}, {'name': 'jedlixDeleteChargingLocation'}, {'name': 'jedlixDeleteVehicle'}, {'name': 'jedlixDisableSmartCharging'}, {'name': 'jedlixEnableSmartCharging'}, {'name': 'jedlixInitiateVehicleConnectSession'}, {'name': 'jedlixRequestVehicleStateUpdate'}, {'name': 'jedlixStartChargerConnectSession'}, {'name': 'jedlixStartVehicleConnectSession'}, {'name': 'jedlixUpdateChargeSettings'}, {'name': 'jedlixUpdateChargerConnectSession'}, {'name': 'jedlixUpdateSolarSettings'}, {'name': 'jedlixUpdateVehicleConnectSession'}, {'name': 'login'}, {'name': 'removePushNotificationToken'}, {'name': 'renewToken'}, {'name': 'requestContractSwitch'}, {'name': 'requestResetPassword'}, {'name': 'requestResetPasswordV2'}, {'name': 'resetPassword'}, {'name': 'resetPasswordV2'}, {'name': 'setContractLossReason'}, {'name': 'signupFinalizeSignup'}, {'name': 'stayingOnDynamicContract'}, {'name': 'submitFeedback'}, {'name': 'updateAdvancePaymentsAmount'}, {'name': 'updateContactInformation'}, {'name': 'updateContractType'}, {'name': 'updateMailingAddress'}, {'name': 'updatePassword'}, {'name': 'updatePushNotificationPriceAlert'}, {'name': 'updateUserSettings'}, {'name': 'userUpsertInviteLink'}, {'name': 'version'}]}, {'name': 'OrderByDirectionEnum', 'fields': None}, {'name': 'PaymentAuthorization', 'fields': [{'name': 'User'}, {'name': 'bankAccountNumber'}, {'name': 'id'}, {'name': 'inactiveSince'}, {'name': 'mandateId'}, {'name': 'provider'}, {'name': 'signedAt'}, {'name': 'status'}]}, {'name': 'PaymentAuthorizationInput', 'fields': None}, {'name': 'PaymentAuthorizationProvider', 'fields': None}, {'name': 'PaymentAuthorizationStatus', 'fields': None}, {'name': 'PeriodUsageAndCostsPayload', 'fields': [{'name': '_id'}, {'name': 'electricity'}, {'name': 'feedIn'}, {'name': 'gas'}]}, {'name': 'PeriodUsageAndCostsPayloadConnectionItem', 'fields': [{'name': 'costsTotal'}, {'name': 'items'}, {'name': 'usageTotal'}]}, {'name': 'PeriodUsageAndCostsPayloadUnitItem', 'fields': [{'name': 'costs'}, {'name': 'date'}, {'name': 'from'}, {'name': 'till'}, {'name': 'usage'}]}, {'name': 'PostalCodeLookupPayload', 'fields': [{'name': 'city'}, {'name': 'houseNumber'}, {'name': 'houseNumberAdditions'}, {'name': 'id'}, {'name': 'postalCode'}, {'name': 'street'}]}, {'name': 'PriceSimulationComponent', 'fields': None}, {'name': 'PriceSimulationUnit', 'fields': None}, {'name': 'PrismaJson', 'fields': None}, {'name': 'PushNotificationPriceAlert', 'fields': [{'name': 'id'}, {'name': 'isEnabled'}, {'name': 'type'}, {'name': 'weekdays'}]}, {'name': 'PushNotificationPriceAlertType', 'fields': None}, {'name': 'PushNotificationPriceAlertTypeEnum', 'fields': None}, {'name': 'Query', 'fields': [{'name': 'actualAndExpectedMeterReadings'}, {'name': 'adminConnection'}, {'name': 'adminConnections'}, {'name': 'adminSignup'}, {'name': 'adminSignups'}, {'name': 'adminUser'}, {'name': 'adminUsers'}, {'name': 'checkMultipleConnections'}, {'name': 'connections'}, {'name': 'costsDelta'}, {'name': 'customerMarketPrices'}, {'name': 'defaultRewards'}, {'name': 'draftAdvancePayment'}, {'name': 'draftInvoices'}, {'name': 'getMinimumEventDate'}, {'name': 'inviteLink'}, {'name': 'inviteLinkFriends'}, {'name': 'invoiceDetails'}, {'name': 'invoicePdfUrl'}, {'name': 'invoices'}, {'name': 'jedlixAddressLookup'}, {'name': 'jedlixChargeSettings'}, {'name': 'jedlixCharger'}, {'name': 'jedlixChargerChargeState'}, {'name': 'jedlixChargerConnectSession'}, {'name': 'jedlixChargers'}, {'name': 'jedlixChargersAtChargingLocation'}, {'name': 'jedlixChargingLocation'}, {'name': 'jedlixChargingLocationSolarEnergy'}, {'name': 'jedlixChargingLocationSolarSettings'}, {'name': 'jedlixChargingLocations'}, {'name': 'jedlixSession'}, {'name': 'jedlixSessionChargedEnergy'}, {'name': 'jedlixSessions'}, {'name': 'jedlixSupportedCarModels'}, {'name': 'jedlixUser'}, {'name': 'jedlixVehicle'}, {'name': 'jedlixVehicleConnectSession'}, {'name': 'jedlixVehicles'}, {'name': 'marketPricesElectricity'}, {'name': 'marketPricesGas'}, {'name': 'me'}, {'name': 'meterReadingsExports'}, {'name': 'monthInsights'}, {'name': 'monthSummary'}, {'name': 'paymentAuthorization'}, {'name': 'periodUsageAndCosts'}, {'name': 'postalCodeLookup'}, {'name': 'rewards'}, {'name': 'signup'}, {'name': 'signupSearchAddress'}, {'name': 'signupSearchZipCode'}, {'name': 'signupSimulatePrice'}, {'name': 'treeCertificates'}, {'name': 'treesCount'}, {'name': 'userRewardsData'}, {'name': 'version'}, {'name': 'weightedAveragePrices'}, {'name': 'yearlyBillingAdvice'}]}, {'name': 'RequestContractSwitchInput', 'fields': None}, {'name': 'RequestResetPasswordInput', 'fields': None}, {'name': 'RequestResetPasswordType', 'fields': None}, {'name': 'RewardsPayload', 'fields': [{'name': '_id'}, {'name': 'choosableReward'}, {'name': 'previousRewards'}, {'name': 'totalDiscountAllTime'}, {'name': 'totalTreesAllTime'}, {'name': 'upcomingRewards'}]}, {'name': 'SearchAddressPayload', 'fields': [{'name': 'items'}]}, {'name': 'SearchAddressRow', 'fields': [{'name': 'city'}, {'name': 'houseNumber'}, {'name': 'houseNumberAddition'}, {'name': 'street'}, {'name': 'zipCode'}]}, {'name': 'SearchZipCodePayload', 'fields': [{'name': 'items'}]}, {'name': 'SearchZipCodeRow', 'fields': [{'name': 'name'}, {'name': 'zipCode'}]}, {'name': 'Signup', 'fields': [{'name': 'ConnectionAddress'}, {'name': 'Consumption'}, {'name': 'CreditCheck'}, {'name': 'InviteLink'}, {'name': 'MailingAddress'}, {'name': 'Person'}, {'name': 'SignupMeta'}, {'name': 'User'}, {'name': 'affiliate'}, {'name': 'bankAccountNumber'}, {'name': 'contractType'}, {'name': 'createdAt'}, {'name': 'creditCheckStatus'}, {'name': 'deliveryStartDate'}, {'name': 'doubleInvoice'}, {'name': 'edrScoreStatus'}, {'name': 'electricityEAN'}, {'name': 'error'}, {'name': 'gasEAN'}, {'name': 'hasAgreedOnTerms'}, {'name': 'hasCollectionPermission'}, {'name': 'hasGasEAN'}, {'name': 'hasNewsletterSignup'}, {'name': 'hasSmartMeterPermission'}, {'name': 'homeOwnerCheck'}, {'name': 'id'}, {'name': 'isLivingOrWorkAddress'}, {'name': 'moveType'}, {'name': 'origin'}, {'name': 'proposition'}, {'name': 'reference'}, {'name': 'status'}, {'name': 'statusList'}, {'name': 'syncStatus'}, {'name': 'updatedAt'}]}, {'name': 'SignupAddress', 'fields': [{'name': 'city'}, {'name': 'houseNumber'}, {'name': 'houseNumberAddition'}, {'name': 'id'}, {'name': 'postalCode'}, {'name': 'street'}]}, {'name': 'SignupConnection', 'fields': [{'name': 'EAN'}, {'name': 'FullAddress'}]}, {'name': 'SignupConsumption', 'fields': [{'name': 'electricityEstimate'}, {'name': 'feedInEstimate'}, {'name': 'gasEstimate'}, {'name': 'hasCO2Compensation'}, {'name': 'hasFeedIn'}, {'name': 'hasSmartMeter'}, {'name': 'id'}]}, {'name': 'SignupContractType', 'fields': None}, {'name': 'SignupCreditCheckStatus', 'fields': None}, {'name': 'SignupEdrScoreStatus', 'fields': None}, {'name': 'SignupFilterOrigin', 'fields': None}, {'name': 'SignupFilterStatus', 'fields': None}, {'name': 'SignupFinalizeSignupAddressInput', 'fields': None}, {'name': 'SignupFinalizeSignupConsumptionInput', 'fields': None}, {'name': 'SignupFinalizeSignupInput', 'fields': None}, {'name': 'SignupFinalizeSignupPayload', 'fields': [{'name': 'reason'}, {'name': 'success'}]}, {'name': 'SignupFinalizeSignupPersonInput', 'fields': None}, {'name': 'SignupMeta', 'fields': [{'name': 'createdAt'}, {'name': 'key'}, {'name': 'value'}]}, {'name': 'SignupMoveType', 'fields': None}, {'name': 'SignupPerson', 'fields': [{'name': 'birthDate'}, {'name': 'emailAddress'}, {'name': 'firstName'}, {'name': 'gender'}, {'name': 'id'}, {'name': 'lastName'}, {'name': 'phoneNumber'}]}, {'name': 'SignupSearchAddressInput', 'fields': None}, {'name': 'SignupSearchZipCodeInput', 'fields': None}, {'name': 'SignupSimulatePriceInput', 'fields': None}, {'name': 'SignupStatus', 'fields': None}, {'name': 'SignupSyncStatus', 'fields': None}, {'name': 'SimulatePricePayload', 'fields': [{'name': 'electricity'}, {'name': 'gas'}]}, {'name': 'SimulatePriceSegment', 'fields': [{'name': 'averageCostPerConsumptionUnit'}, {'name': 'averageMonthlyAmount'}, {'name': 'components'}, {'name': 'totalAnnualAmount'}]}, {'name': 'SimulatePriceSegmentComponent', 'fields': [{'name': 'annualAmount'}, {'name': 'componentKey'}, {'name': 'fixedAmountPerMonth'}, {'name': 'variableAmountPerUnit'}, {'name': 'variableAsWeightedAverage'}, {'name': 'variableUnit'}]}, {'name': 'String', 'fields': None}, {'name': 'SubmitFeedbackInput', 'fields': None}, {'name': 'TreesCountPayload', 'fields': [{'name': 'id'}, {'name': 'nextYear'}, {'name': 'thisYear'}]}, {'name': 'UpdateContactInformationInput', 'fields': None}, {'name': 'UpdateMailingAddressInput', 'fields': None}, {'name': 'UpdatePasswordInput', 'fields': None}, {'name': 'UpdatePushNotificationPriceAlertInput', 'fields': None}, {'name': 'UpdateUserSettingsInput', 'fields': None}, {'name': 'UpsertInviteLinkInput', 'fields': None}, {'name': 'User', 'fields': [{'name': 'InviteLinkUser'}, {'name': 'Organization'}, {'name': 'OrganizationId'}, {'name': 'PaymentAuthorizations'}, {'name': 'PushNotificationPriceAlerts'}, {'name': 'Signup'}, {'name': 'UserSettings'}, {'name': 'activePaymentAuthorization'}, {'name': 'adminRights'}, {'name': 'advancedPaymentAmount'}, {'name': 'connections'}, {'name': 'connectionsStatus'}, {'name': 'createdAt'}, {'name': 'deliverySites'}, {'name': 'email'}, {'name': 'firstMeterReadingDate'}, {'name': 'firstName'}, {'name': 'friendsCount'}, {'name': 'hasCO2Compensation'}, {'name': 'hasInviteLink'}, {'name': 'id'}, {'name': 'lastLogin'}, {'name': 'lastMeterReadingDate'}, {'name': 'lastName'}, {'name': 'meterReadingExportPeriods'}, {'name': 'notification'}, {'name': 'reference'}, {'name': 'role'}, {'name': 'status'}, {'name': 'treesCount'}, {'name': 'updatedAt'}]}, {'name': 'UserConnectionsStatus', 'fields': None}, {'name': 'UserReward', 'fields': [{'name': 'User'}, {'name': 'createdAt'}, {'name': 'friends'}, {'name': 'id'}, {'name': 'period'}, {'name': 'totalConnections'}, {'name': 'type'}]}, {'name': 'UserRewardFriend', 'fields': [{'name': 'connections'}, {'name': 'id'}, {'name': 'name'}]}, {'name': 'UserRewardStatus', 'fields': None}, {'name': 'UserRewardType', 'fields': None}, {'name': 'UserRewardV2', 'fields': [{'name': 'AdditionalBonuses'}, {'name': 'InviteLink'}, {'name': 'acceptedOn'}, {'name': 'availableForAcceptanceOn'}, {'name': 'awardedDiscount'}, {'name': 'awardedTreesAmount'}, {'name': 'createdAt'}, {'name': 'discountPerConnection'}, {'name': 'hasPossibleSmartChargingBonus'}, {'name': 'id'}, {'name': 'isRewardForOwnSignup'}, {'name': 'status'}, {'name': 'treesAmountPerConnection'}, {'name': 'updatedAt'}]}, {'name': 'UserRewardV2AdditionalBonus', 'fields': [{'name': 'discountAmountPerConnection'}, {'name': 'id'}, {'name': 'treesAmountPerConnection'}, {'name': 'type'}]}, {'name': 'UserRewardV2AdditionalBonusType', 'fields': None}, {'name': 'UserRewardsPayload', 'fields': [{'name': 'acceptedRewards'}, {'name': 'activeConnectionsCount'}, {'name': 'activeFriendsCount'}, {'name': 'upcomingRewards'}]}, {'name': 'UserRole', 'fields': None}, {'name': 'UserSettings', 'fields': [{'name': 'disabledHapticFeedback'}, {'name': 'hideInFriendsList'}, {'name': 'id'}, {'name': 'jedlixPushNotifications'}, {'name': 'jedlixUserId'}, {'name': 'rewardPayoutPreference'}]}, {'name': 'UserSettingsRewardPayoutPreference', 'fields': None}, {'name': 'UserStatus', 'fields': None}, {'name': 'UserTreeCertificate', 'fields': [{'name': 'createdAt'}, {'name': 'id'}, {'name': 'imagePath'}, {'name': 'imageUrl'}, {'name': 'treesAmount'}]}, {'name': 'WeightedAveragePricesConnectionItem', 'fields': [{'name': 'averageMarketPrice'}, {'name': 'items'}, {'name': 'marketPriceTax'}, {'name': 'sourcingMarkupPrice'}]}, {'name': 'WeightedAveragePricesItem', 'fields': [{'name': '_id'}, {'name': 'averageMarketPrice'}, {'name': 'date'}, {'name': 'from'}, {'name': 'localFrom'}, {'name': 'localTill'}, {'name': 'marketPriceTax'}, {'name': 'sourcingMarkupPrice'}, {'name': 'till'}]}, {'name': 'WeightedAveragePricesPayload', 'fields': [{'name': '_id'}, {'name': 'electricity'}, {'name': 'feedIn'}, {'name': 'gas'}]}, {'name': 'YearlyBillingAdviceDummyPayload', 'fields': [{'name': '_id'}, {'name': 'expectationAbsolute'}, {'name': 'expectationRelative'}, {'name': 'yearlyAdvance'}]}, {'name': '__Directive', 'fields': [{'name': 'name'}, {'name': 'description'}, {'name': 'isRepeatable'}, {'name': 'locations'}, {'name': 'args'}]}, {'name': '__DirectiveLocation', 'fields': None}, {'name': '__EnumValue', 'fields': [{'name': 'name'}, {'name': 'description'}, {'name': 'isDeprecated'}, {'name': 'deprecationReason'}]}, {'name': '__Field', 'fields': [{'name': 'name'}, {'name': 'description'}, {'name': 'args'}, {'name': 'type'}, {'name': 'isDeprecated'}, {'name': 'deprecationReason'}]}, {'name': '__InputValue', 'fields': [{'name': 'name'}, {'name': 'description'}, {'name': 'type'}, {'name': 'defaultValue'}, {'name': 'isDeprecated'}, {'name': 'deprecationReason'}]}, {'name': '__Schema', 'fields': [{'name': 'description'}, {'name': 'types'}, {'name': 'queryType'}, {'name': 'mutationType'}, {'name': 'subscriptionType'}, {'name': 'directives'}]}, {'name': '__Type', 'fields': [{'name': 'kind'}, {'name': 'name'}, {'name': 'description'}, {'name': 'specifiedByURL'}, {'name': 'fields'}, {'name': 'interfaces'}, {'name': 'possibleTypes'}, {'name': 'enumValues'}, {'name': 'inputFields'}, {'name': 'ofType'}]}, {'name': '__TypeKind', 'fields': None}]}}}

DCSBL commented 11 months ago

Cool!

Wil je de issue splitsen in "kWh" en "Geschiedenis van facturen?" Dat maakt de discussie overzichtelijker.

Wat betreft kWh per dag in Home Assistant; Ik raadt dit persoonlijk af, verbruik heeft altijd een paar dagen achterstand waardoor de timestamps niet overeen komen met Home Assistant. Daarnaast zou je geen gebruik kunnen maken van het ingebouwde energy-dashboard.

Ik raadt je aan om een P1 meter te gebruiken, dit geeft real-time gebruik weer en samen met de actuele prijs van Frank Energie geeft dit een realistisch beeld. Mijn advies is de HomeWizard P1 meter (mening is wel een beetje biased, natuurlijk).

Als je dit toch wilt toevoegen, dan mag je altijd een PR openen. Ik leg zelf even de focus op #94.

HiDiHo01 commented 11 months ago

Je hebt gelijk dit zijn eigenlijk 2 issues.

Ook ben ik het met je eens dat kWh per dag altijd achter loopt. In fact ik heb 2 P1 meters met een actieve P1 hub waaronder de HomeWizard P1 meter, wat dan ook mijn favoriet is. De kWh opgave van Frank gebruik ik eigenlijk alleen als controle. Dus vergeet deze maar voorlopig.

Wat betreft de facturen zou ik deze wel graag terug zien in dit component. Uiteraard pas na de merge met Home Assistant https://github.com/bajansen/home-assistant-frank_energie/issues/94

HiDiHo01 commented 11 months ago

Cool!

Wil je de issue splitsen in "kWh" en "Geschiedenis van facturen?" Dat maakt de discussie overzichtelijker.

Wat betreft kWh per dag in Home Assistant; Ik raadt dit persoonlijk af, verbruik heeft altijd een paar dagen achterstand waardoor de timestamps niet overeen komen met Home Assistant. Daarnaast zou je geen gebruik kunnen maken van het ingebouwde energy-dashboard.

Ik raadt je aan om een P1 meter te gebruiken, dit geeft real-time gebruik weer en samen met de actuele prijs van Frank Energie geeft dit een realistisch beeld. Mijn advies is de HomeWizard P1 meter (mening is wel een beetje biased, natuurlijk).

Als je dit toch wilt toevoegen, dan mag je altijd een PR openen. Ik leg zelf even de focus op #94.

Zou jij mij misschieien kunnen helpen met de query? Mijn query is ongeldig, volgens mij mis ik iets.

    async def UserEnergyConsumption(self) -> EnergyConsumption:
        if self._auth is None:
            raise AuthRequiredException
        if not self.is_authenticated:
            raise AuthRequiredException("Authentication is required.")

        query = FrankEnergieQuery(
            """
            query GetUserEnergyConsumption {
            user {
                id
                energyConsumption {
                daily {
                    date
                    consumptionKwh
                }
                }
            }
            }
            """,
            "GetUserEnergyConsumption",
            {},
        )

        return EnergyConsumption.from_dict(await self._query(query))
DCSBL commented 11 months ago

Probeer eens een tool zoals Postman, daar kan je in alle vrijheid requests proberen en het helpt je met het isoleren van problemen.

HiDiHo01 commented 11 months ago

Dank je, ik zal eens kijken...ik zocht al ergens een playground.