From d04823377615d82a453fafa4dabef2f2d9e43656 Mon Sep 17 00:00:00 2001 From: mohmacht <47925536+mohmacht@users.noreply.github.com> Date: Wed, 8 Jan 2020 15:04:33 -0500 Subject: [PATCH] The MFI Dimmer Switch model is missing from the list, causing the mfi Wall switches not to be recognized. (#30572) Please add this one model to support my mfi switches, thank you. python 1.py dump_sensors --noverify Model | Label | Tag | Value | Extra ------------------------------------------------------------------------------ Dimmer Switch | Bedroom2Light | active_pwr | 22.047071 | 1.0 Dimmer Switch | LivingRoomLight | active_pwr | 0.0 | 0.0 Dimmer Switch | FamilyRoomLight | active_pwr | 42.803919 | 1.0 Dimmer Switch | MasterBedroomLight | active_pwr | 0.0 | 0.0 --- homeassistant/components/mfi/switch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 00cb23a102e..18809f08d4f 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -21,7 +21,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = True DEFAULT_VERIFY_SSL = True -SWITCH_MODELS = ["Outlet", "Output 5v", "Output 12v", "Output 24v"] +SWITCH_MODELS = ["Outlet", "Output 5v", "Output 12v", "Output 24v", "Dimmer Switch"] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( {