From b04b662423fb5fc19c118cd4fa61c7c64b049b5f Mon Sep 17 00:00:00 2001 From: UltimateGG Date: Tue, 26 Dec 2023 19:35:49 -0600 Subject: [PATCH] Add Visonic MCT340 SMA model (#2861) --- zhaquirks/visonic/{mct340e.py => mct340.py} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename zhaquirks/visonic/{mct340e.py => mct340.py} (92%) mode change 100755 => 100644 diff --git a/zhaquirks/visonic/mct340e.py b/zhaquirks/visonic/mct340.py old mode 100755 new mode 100644 similarity index 92% rename from zhaquirks/visonic/mct340e.py rename to zhaquirks/visonic/mct340.py index cfd526a694..3814e2cb2e --- a/zhaquirks/visonic/mct340e.py +++ b/zhaquirks/visonic/mct340.py @@ -1,4 +1,4 @@ -"""Visonic MCT340E device.""" +"""Visonic MCT340 device.""" from zigpy.profiles import zha from zigpy.quirks import CustomDevice @@ -28,15 +28,15 @@ class CustomPowerConfigurationCluster(PowerConfigurationCluster): MAX_VOLTS = 3.0 -class MCT340E(CustomDevice): - """Visonic MCT340E device.""" +class MCT340(CustomDevice): + """Visonic MCT340 device.""" signature = { # - MODELS_INFO: [("Visonic", "MCT-340 E")], + MODELS_INFO: [("Visonic", "MCT-340 E"), ("Visonic", "MCT-340 SMA")], ENDPOINTS: { 1: { PROFILE_ID: zha.PROFILE_ID,