core/homeassistant/components
Abhishek Anand 65bd7d2326 Generalized REST switch to enable templating and configurable timeout. (#3329)
* successfully tested the "remote temperature mode" switch for the radio thermostat

* removed logging and interpreted None as Off.

* turn_off value is also templated now -- can depend on state

Also, undid accidental removal of error logging.

* ensured backward compatibility of config file

if value_template is not provided, the update function behaves as before

* ran autopep8 --in-place

* fixed another complaint of tox

* addressed the comments of balloob

* undid acccidental log.error to log.info

* timeout : 50 -> 10

* added a timeout parameter

* removed the stray '-', better names for the failure case

* string comparisons after .lower(), as suggested by balloob

* addressed balloob's latest requests

* making flake happy

* value_template --> is_on_template in config file

* moved CONF_IS_ON_TEMPLATE to local file

* null checks

* addressed flake error

* properly comparing template text when is_on is not a template.
2016-10-27 22:34:22 -07:00
..
alarm_control_panel Moving updates out of state property (#3966) 2016-10-20 22:35:25 -07:00
automation Fix async bug in automation (#4078) 2016-10-27 18:26:55 +02:00
binary_sensor async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
camera Async clientsession / fix stuff on aiohttp and camera platform (#4084) 2016-10-27 21:40:10 -07:00
climate Zwave climate, add operating state to attributes (#4069) 2016-10-27 22:25:17 -07:00
cover fixed Up/Down (#4064) 2016-10-27 12:10:38 +02:00
device_tracker Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
fan Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
frontend Update frontend 2016-10-27 00:21:55 -07:00
light Configurator support for entity_picture (#4028) 2016-10-24 22:28:34 -07:00
lock Zwave: Update commandclasses and deviceclasses according to sigma SDK (#3495) 2016-09-30 08:43:18 -07:00
media_player [media_player/onkyo] host should be optional (#4073) 2016-10-27 10:33:35 +02:00
mqtt Fixup device_tracekt.mqtt voluptuous & unit tests (#3904) 2016-10-18 18:10:28 -07:00
notify Upgrade python-telegram-bot to 5.2.0 (#4080) 2016-10-27 21:28:09 -07:00
recorder Upgrade sqlalchemy to 1.1.2 (#4003) 2016-10-24 22:00:22 +02:00
scene Changing import as powerview api did change. (#3780) 2016-10-10 22:30:27 -07:00
sensor Upgrade psutil to 4.4.2 (#4079) 2016-10-27 22:22:43 -07:00
switch Generalized REST switch to enable templating and configurable timeout. (#3329) 2016-10-27 22:34:22 -07:00
weather Update tests, rename variable, and change conversion (#3546) 2016-10-24 21:53:03 -07:00
zwave Prevent zwave from firing event at shutdown (#3987) 2016-10-22 14:08:24 +02:00
__init__.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
alexa.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
apcupsd.py 0.27.2 (#3151) 2016-09-03 15:59:20 -07:00
api.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
arduino.py Upgrade PyMata to 2.13 (#3335) 2016-09-13 22:52:11 -07:00
bloomsky.py Fix typo (#3343) 2016-09-12 16:19:46 +02:00
browser.py Fix linting errors 2016-07-16 23:45:38 -07:00
configurator.py Configurator support for entity_picture (#4028) 2016-10-24 22:28:34 -07:00
conversation.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
demo.py Async EntitiesComponent (#3820) 2016-10-16 09:35:46 -07:00
device_sun_light_trigger.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
digital_ocean.py Upgrade python-digitalocean to 1.10.0 (#3921) 2016-10-17 20:13:43 -07:00
discovery.py Add discovery for yamaha component (#4061) 2016-10-26 23:46:44 -07:00
downloader.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
dweet.py Fix schemas and update ordering (#2932) 2016-08-22 14:19:19 +02:00
ecobee.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
emoncms_history.py Emoncms history component (#3531) 2016-10-16 17:05:01 -07:00
emulated_hue.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
enocean.py Migrate to voluptuous (#2958) 2016-08-24 22:35:09 -06:00
envisalink.py Passing original config reference to load_platform. (#3602) 2016-09-29 18:55:43 -07:00
feedreader.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
ffmpeg.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
foursquare.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
graphite.py Use voluptuous for graphite (#2929) 2016-08-23 19:01:46 -07:00
group.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
hdmi_cec.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
history.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
homematic.py Hotfix device name with autodiscovery (#3791) 2016-10-10 13:46:23 +02:00
http.py Update http 2016-10-24 00:09:20 -07:00
ifttt.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
influxdb.py Relaxes the configuration options for influxdb (#3869) 2016-10-14 21:10:04 -07:00
input_boolean.py revert update of input_boolean 2016-10-03 22:05:06 +02:00
input_select.py select next and previous of input select (#3839) 2016-10-13 21:53:47 -07:00
input_slider.py Use voluptuous for input_slider, input_boolean, input_select (#3256) 2016-09-23 00:12:11 -07:00
insteon_hub.py Migrate to voluptuous (#3372) 2016-09-13 23:20:58 -07:00
introduction.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
ios.py More iOS HTTP Async updates 2016-10-24 17:31:45 -07:00
isy994.py Add ISY programs and support for all device types (#3082) 2016-09-11 20:18:53 +02:00
joaoapps_join.py expect a list of devices from config (#2567) 2016-07-19 19:14:41 -07:00
keyboard.py Comment out pyuserinput in requirements_all (#3307) 2016-09-11 21:59:48 -07:00
keyboard_remote.py Recieve signals from a keyboard and use keyboard as a remote control (#3305) 2016-09-17 23:31:27 -07:00
knx.py Use voluptuous for KNX (#3345) 2016-09-13 23:03:30 -07:00
lirc.py Update python-lirc to 1.2.3 (#3784) 2016-10-10 23:44:41 -07:00
logbook.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
logentries.py Migrate to voluptuous (#2927) 2016-08-23 17:27:54 -07:00
logger.py Fix logger config validation (#3459) 2016-09-19 21:12:56 -07:00
mochad.py Add mochad component (#3970) 2016-10-24 21:49:49 -07:00
modbus.py Modbus component refactoring - sensors and switches (#3297) 2016-09-13 22:47:44 +02:00
mqtt_eventstream.py We need to allow extra keys on the top-level component config. 2016-04-07 00:42:56 -04:00
mysensors.py Upgrade pymysensors to 0.8 (#3954) 2016-10-20 20:56:26 +02:00
nest.py Added additional checks which hides functions which are not supported by Nest (#3751) 2016-10-10 23:57:14 -07:00
netatmo.py Netatmo thermostat (#3888) 2016-10-17 19:57:02 -07:00
nuimo_controller.py Clean up some async stuff (#3915) 2016-10-17 19:38:41 -07:00
octoprint.py 0.28 (#3288) 2016-09-10 18:22:58 -07:00
openalpr.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
panel_custom.py Minor changes (#2784) 2016-08-11 11:14:24 +02:00
panel_iframe.py Tweak panel parameters (#2746) 2016-08-07 21:56:17 -07:00
persistent_notification.py Async bootstrap / component init (#3991) 2016-10-27 00:16:23 -07:00
pilight.py Bugfixes for pilight hub component and unit tests (#3948) 2016-10-19 22:02:11 +02:00
proximity.py Migrate to voluptuous (#3293) [BREAKING CHANGE] 2016-10-11 00:26:11 -07:00
qwikswitch.py Added support for exposing light features (#2828) 2016-08-15 23:07:07 -07:00
rfxtrx.py update rfxtrx lib 2016-09-27 10:42:03 +02:00
rpi_gpio.py Use voluptuous for RPi GPIO (#3371) 2016-09-17 23:28:37 -07:00
script.py fix typos in script module strings 2016-10-25 07:20:40 -04:00
scsgate.py Use voluptuous for SCSGate (#3265) 2016-09-13 07:23:53 +02:00
services.yaml Zwave: Update commandclasses and deviceclasses according to sigma SDK (#3495) 2016-09-30 08:43:18 -07:00
shell_command.py Optimize template 2 (#3521) 2016-09-27 21:29:55 -07:00
sleepiq.py Update links (#3488) 2016-09-23 10:28:05 +02:00
splunk.py Use voluptuous for Splunk (#2931) 2016-08-23 18:58:59 -07:00
statsd.py Fixed statsd stopping if state is not numeric or only attributes changed (#3981) 2016-10-21 23:18:13 -07:00
sun.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
tellduslive.py improved error handling (#3725) 2016-10-07 17:25:51 -07:00
tellstick.py Use voluptuous for Tellstick (#3367) 2016-09-13 23:29:15 -07:00
thingspeak.py Lint 2016-10-27 00:37:02 -07:00
updater.py Handle FreeBSD version in updater component (#4048) 2016-10-25 22:38:22 +02:00
upnp.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
vera.py Add support for Vera covers. (#3411) 2016-09-15 20:47:03 +02:00
verisure.py Add support for verisure file camera. (#3952) 2016-10-21 22:41:17 +02:00
weblink.py Fix issue #3401 weblink (#3402) 2016-09-17 23:21:24 -07:00
wemo.py Bump pywemo version - changes port order for faster startup. (#3612) 2016-10-01 22:53:24 -07:00
wink.py Update wink.py (#3957) 2016-10-22 16:59:20 -04:00
zeroconf.py Check that no configuration is provided (#3553) 2016-09-29 19:02:22 -07:00
zigbee.py Make 'pin' optional for zigbee device config. (#3799) 2016-10-10 16:53:18 +02:00
zone.py Fix zone being setup twice 2016-09-24 00:04:03 -07:00
zoneminder.py Adding ssl option to zoneminder (#4074) 2016-10-27 15:54:03 +02:00