UNPKG

matterbridge

Version:
40 lines 2.02 kB
/** * @description This file contains the SolarPower class. * @file src/devices/solarPower.ts * @author Luca Liguori * @contributor Ludovic BOUÉ * @created 2025-06-14 * @version 1.0.0 * @license Apache-2.0 * * Copyright 2025, 2026, 2027 Luca Liguori. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { MatterbridgeEndpoint } from '../matterbridgeEndpoint.js'; export declare class SolarPower extends MatterbridgeEndpoint { /** * Creates an instance of the SolarPower class. * * @param {string} name - The name of the SolarPower. * @param {string} serial - The serial number of the SolarPower. * @param {number} voltage - The voltage value in millivolts. * @param {number} current - The current value in milliamperes. * @param {number} power - The power value in milliwatts. * @param {number} energyExported - The total production value in mW/h. * @param {number} [absMinPower] - Indicate the minimum electrical power in mw that the ESA can consume when switched on. Defaults to `0` if not provided. * @param {number} [absMaxPower] - Indicate the maximum electrical power in mw that the ESA can consume when switched on. Defaults to `0` if not provided. */ constructor(name: string, serial: string, voltage?: number | bigint | null, current?: number | bigint | null, power?: number | bigint | null, energyExported?: number | bigint | null, absMinPower?: number, absMaxPower?: number); } //# sourceMappingURL=solarPower.d.ts.map