Skip to content

Commit

Permalink
Add missing type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Oct 6, 2024
1 parent cfa4507 commit 592b47b
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions api/types.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package api

type DeviceCategory uint

const (
// Grid Connection Point Hub (GCPH) (e.g. a control unit from the public grid operator)
DeviceCategoryGridConnectionHub DeviceCategory = 1
// Energy Management System (EMS) (device managing the electrical energy consumption/production of connected devices in the building)
DeviceCategoryEnergyManagementSystem DeviceCategory = 2
// E-mobility related device (e.g., charging station)
DeviceCategoryEMobility DeviceCategory = 3
// HVAC related device/system (e.g., heat pump)
DeviceCategoryHVAC DeviceCategory = 4
// Inverter (PV/battery/hybrid inverter)
DeviceCategoryInverter DeviceCategory = 5
// Domestic appliance (e.g., washing machine, dryer, fridge, etc.)
DeviceCategoryDomesticAppliance DeviceCategory = 6
// Metering device (e.g., smart meter or sub-meter with its own communications technology)
DeviceCategoryMetering DeviceCategory = 7
)

0 comments on commit 592b47b

Please sign in to comment.