Add climate platform to Insteon (#35763)
This commit is contained in:
parent
544094af21
commit
b5f12bd9c1
7 changed files with 271 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
import logging
|
||||
|
||||
from pyinsteon.device_types import (
|
||||
ClimateControl_Thermostat,
|
||||
ClimateControl_WirelessThermostat,
|
||||
DimmableLightingControl,
|
||||
DimmableLightingControl_DinRail,
|
||||
DimmableLightingControl_FanLinc,
|
||||
|
@ -40,6 +42,7 @@ from pyinsteon.device_types import (
|
|||
)
|
||||
|
||||
from homeassistant.components.binary_sensor import DOMAIN as BINARY_SENSOR
|
||||
from homeassistant.components.climate import DOMAIN as CLIMATE
|
||||
from homeassistant.components.cover import DOMAIN as COVER
|
||||
from homeassistant.components.fan import DOMAIN as FAN
|
||||
from homeassistant.components.light import DOMAIN as LIGHT
|
||||
|
@ -95,6 +98,8 @@ DEVICE_PLATFORM = {
|
|||
SwitchedLightingControl_OutletLinc: {SWITCH: [1], ON_OFF_EVENTS: [1]},
|
||||
SwitchedLightingControl_SwitchLinc: {SWITCH: [1], ON_OFF_EVENTS: [1]},
|
||||
SwitchedLightingControl_ToggleLinc: {SWITCH: [1], ON_OFF_EVENTS: [1]},
|
||||
ClimateControl_Thermostat: {CLIMATE: [1]},
|
||||
ClimateControl_WirelessThermostat: {CLIMATE: [1]},
|
||||
WindowCovering: {COVER: [1]},
|
||||
X10Dimmable: {LIGHT: [1]},
|
||||
X10OnOff: {SWITCH: [1]},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue