Skip to content

Commit

Permalink
Add NLPD - Drivia dry contact
Browse files Browse the repository at this point in the history
  • Loading branch information
cgtobi committed Oct 11, 2023
1 parent 85f6330 commit a9c8da5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pyatmo/modules/device_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ class DeviceType(str, Enum):
NLP = "NLP" # Plug
NLPBS = "NLPBS" # British standard plugs
NLPC = "NLPC" # Connected energy meter
NLPD = "NLPD" # Dry contact
NLPM = "NLPM" # mobile plug
NLPO = "NLPO" # Connected contactor
NLPS = "NLPS" # Smart Load Shedder
Expand Down Expand Up @@ -183,6 +184,7 @@ class DeviceCategory(str, Enum):
DeviceType.BNTH: DeviceCategory.climate,
DeviceType.BNFC: DeviceCategory.climate,
DeviceType.BNTR: DeviceCategory.climate,
DeviceType.NLPD: DeviceCategory.switch,
}


Expand Down Expand Up @@ -262,4 +264,5 @@ class DeviceCategory(str, Enum):
DeviceType.BNS: ("Smarther", "Smarther with Netatmo"),
DeviceType.Z3L: ("3rd Party", "Zigbee 3 Light"),
DeviceType.EBU: ("3rd Party", "EBU gas meter"),
DeviceType.NLPD: ("Drivia", "Dry contact"),
}

0 comments on commit a9c8da5

Please sign in to comment.