Skip to content

Commit

Permalink
Update BNCS
Browse files Browse the repository at this point in the history
  • Loading branch information
cgtobi committed Jan 11, 2024
1 parent 370e55d commit c3a22ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

-
- Add BNSC switch capability

### Security

Expand Down
4 changes: 2 additions & 2 deletions src/pyatmo/modules/bticino.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ class BNEU(Module):
"""BTicino external unit."""


class BNCS(Module):
"""BTicino camera."""
class BNCS(Switch):
"""Bticino module Controlled Socket."""


class BNXM(Module):
Expand Down
2 changes: 2 additions & 0 deletions src/pyatmo/modules/device_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class DeviceCategory(str, Enum):
DeviceType.BNIL: DeviceCategory.switch,
DeviceType.BNLD: DeviceCategory.dimmer,
DeviceType.NIS: DeviceCategory.siren,
DeviceType.BNCS: DeviceCategory.switch,
}


Expand Down Expand Up @@ -271,6 +272,7 @@ class DeviceCategory(str, Enum):
DeviceType.BNTR: ("BTicino", "Module towel rail"),
DeviceType.BNIL: ("BTicino", "Intelligent light"),
DeviceType.BNLD: ("BTicino", "Dimmer"),
DeviceType.BNCS: ("BTicino", "Controlled socket"),
# Bubbendorf shutters
DeviceType.NBG: ("Bubbendorf", "Gateway"),
DeviceType.NBR: ("Bubbendorf", "Roller Shutter"),
Expand Down

0 comments on commit c3a22ce

Please sign in to comment.