From d6dee62c927d1e6c52c48fee35fff00731a39f12 Mon Sep 17 00:00:00 2001 From: Tom Harris Date: Wed, 27 Jun 2018 06:19:56 -0400 Subject: [PATCH] Add Mini remote support to insteon_plm (#15152) * Add mini-remote * Bump insteonplm version to 0.11.3 to support mini-remotes --- homeassistant/components/insteon_plm/__init__.py | 6 ++++-- requirements_all.txt | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/insteon_plm/__init__.py b/homeassistant/components/insteon_plm/__init__.py index 8197b45c28d..82fc6b02266 100644 --- a/homeassistant/components/insteon_plm/__init__.py +++ b/homeassistant/components/insteon_plm/__init__.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['insteonplm==0.11.2'] +REQUIREMENTS = ['insteonplm==0.11.3'] _LOGGER = logging.getLogger(__name__) @@ -300,7 +300,8 @@ class IPDB(object): OpenClosedRelay) from insteonplm.states.dimmable import (DimmableSwitch, - DimmableSwitch_Fan) + DimmableSwitch_Fan, + DimmableRemote) from insteonplm.states.sensor import (VariableSensor, OnOffSensor, @@ -328,6 +329,7 @@ class IPDB(object): State(DimmableSwitch_Fan, 'fan'), State(DimmableSwitch, 'light'), + State(DimmableRemote, 'binary_sensor'), State(X10DimmableSwitch, 'light'), State(X10OnOffSwitch, 'switch'), diff --git a/requirements_all.txt b/requirements_all.txt index 24b1de60e1a..3d2d8ad2590 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -460,7 +460,7 @@ influxdb==5.0.0 insteonlocal==0.53 # homeassistant.components.insteon_plm -insteonplm==0.11.2 +insteonplm==0.11.3 # homeassistant.components.sensor.iperf3 iperf3==0.1.10