Skip to content

Commit

Permalink
Add Visonic MCT340 SMA model (#2861)
Browse files Browse the repository at this point in the history
  • Loading branch information
UltimateGG authored Dec 27, 2023
1 parent ab9f6d8 commit b04b662
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zhaquirks/visonic/mct340e.py → zhaquirks/visonic/mct340.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Visonic MCT340E device."""
"""Visonic MCT340 device."""

from zigpy.profiles import zha
from zigpy.quirks import CustomDevice
Expand Down Expand Up @@ -28,15 +28,15 @@ class CustomPowerConfigurationCluster(PowerConfigurationCluster):
MAX_VOLTS = 3.0


class MCT340E(CustomDevice):
"""Visonic MCT340E device."""
class MCT340(CustomDevice):
"""Visonic MCT340 device."""

signature = {
# <SimpleDescriptor endpoint=1 profile=260 device_type=1026
# device_version=0
# input_clusters=[0, 1, 3, 1026, 1280, 32, 2821]
# output_clusters=[25]>
MODELS_INFO: [("Visonic", "MCT-340 E")],
MODELS_INFO: [("Visonic", "MCT-340 E"), ("Visonic", "MCT-340 SMA")],
ENDPOINTS: {
1: {
PROFILE_ID: zha.PROFILE_ID,
Expand Down

0 comments on commit b04b662

Please sign in to comment.