From 47220ae4a6b2a786d0d1f6e6eb5775ae45820816 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Wed, 24 Jun 2020 17:52:56 -0400 Subject: [PATCH] Handle Centralite Pearl thermostat modes (#37065) --- homeassistant/components/zha/climate.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/homeassistant/components/zha/climate.py b/homeassistant/components/zha/climate.py index fc57b46ec34..7e2a0e147a7 100644 --- a/homeassistant/components/zha/climate.py +++ b/homeassistant/components/zha/climate.py @@ -587,3 +587,13 @@ class ZenWithinThermostat(Thermostat): if self.hvac_mode != HVAC_MODE_OFF: return CURRENT_HVAC_IDLE return CURRENT_HVAC_OFF + + +@STRICT_MATCH( + channel_names=CHANNEL_THERMOSTAT, + aux_channels=CHANNEL_FAN, + manufacturers="Centralite", + models="3157100", +) +class CentralitePearl(ZenWithinThermostat): + """Centralite Pearl Thermostat implementation."""