java.lang.Object
java.lang.Enum<ShellyEntry>
energy.eddie.aiida.adapters.datasource.shelly.transformer.ShellyEntry
All Implemented Interfaces:
Serializable, Comparable<ShellyEntry>, Constable

public enum ShellyEntry extends Enum<ShellyEntry>
  • Enum Constant Details

    • TOTAL_ACTIVE_ENERGY

      public static final ShellyEntry TOTAL_ACTIVE_ENERGY
    • ACTIVE_ENERGY_EM

      public static final ShellyEntry ACTIVE_ENERGY_EM
    • ACTIVE_ENERGY_SWITCH

      public static final ShellyEntry ACTIVE_ENERGY_SWITCH
    • TOTAL_ACTIVE_RETURNED_ENERGY

      public static final ShellyEntry TOTAL_ACTIVE_RETURNED_ENERGY
    • ACTIVE_RETURNED_ENERGY_EM

      public static final ShellyEntry ACTIVE_RETURNED_ENERGY_EM
    • ACTIVE_RETURNED_ENERGY_SWITCH

      public static final ShellyEntry ACTIVE_RETURNED_ENERGY_SWITCH
    • CURRENT

      public static final ShellyEntry CURRENT
    • VOLTAGE

      public static final ShellyEntry VOLTAGE
    • ACTIVE_POWER_EM

      public static final ShellyEntry ACTIVE_POWER_EM
    • ACTIVE_POWER_SWITCH

      public static final ShellyEntry ACTIVE_POWER_SWITCH
    • APPARENT_POWER

      public static final ShellyEntry APPARENT_POWER
    • POWER_FACTOR

      public static final ShellyEntry POWER_FACTOR
    • FREQUENCY

      public static final ShellyEntry FREQUENCY
    • UNKNOWN

      public static final ShellyEntry UNKNOWN
  • Method Details

    • values

      public static ShellyEntry[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShellyEntry valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromKey

      public static ShellyEntry fromKey(String key)
    • obisCodeForPhase

      public ObisCode obisCodeForPhase(ShellyPhase phase)
    • rawUnitOfMeasurement

      public UnitOfMeasurement rawUnitOfMeasurement()