/**
 * Copyright (c) 2010-2022 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.homewizard.internal;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.openhab.core.thing.ThingTypeUID;

/**
 * The {@link HomeWizardBindingConstants} class defines common constants, which are
 * used across the full binding.
 *
 * @author Daniël van Os - Initial contribution
 */
@NonNullByDefault
public class HomeWizardBindingConstants {

    private static final String BINDING_ID = "homewizard";

    // List of all Thing Type UIDs
    public static final ThingTypeUID THING_TYPE_P1_WIFI_METER = new ThingTypeUID(BINDING_ID, "p1_wifi_meter");

    // List of all Channel ids
    public static final String CHANNEL_ENERGY_IMPORT_T1 = "total_energy_import_t1";
    public static final String CHANNEL_ENERGY_IMPORT_T2 = "total_energy_import_t2";
    public static final String CHANNEL_ENERGY_EXPORT_T1 = "total_energy_export_t1";
    public static final String CHANNEL_ENERGY_EXPORT_T2 = "total_energy_export_t2";
    public static final String CHANNEL_ACTIVE_POWER = "active_power";
    public static final String CHANNEL_ACTIVE_POWER_L1 = "active_power_l1";
    public static final String CHANNEL_ACTIVE_POWER_L2 = "active_power_l2";
    public static final String CHANNEL_ACTIVE_POWER_L3 = "active_power_l3";
    public static final String CHANNEL_TOTAL_GAS = "total_gas";
    public static final String CHANNEL_GAS_TIMESTAMP = "gas_timestamp";

    public static final String PROPERTY_METER_MODEL = "meterModel";
    public static final String PROPERTY_METER_VERSION = "meterVersion";
}
