core/homeassistant/components/switch
Martin Hjelmare 9db1aa7629 Add discovery notify support and mysensors notify (#5219)
* Add mysensors notify platform

* Make add_devices optional in platform callback function.
* Use new argument structure for all existing mysensors platforms.
* Add notify platform.
* Update mysensors gateway.

* Refactor notify setup

* Enable discovery of notify platforms.
* Update and add tests for notify component and some platforms.
* Continue setup of notify platforms if a platform fails setup.
* Remove notify tests that check platform config. These tests are not
  needed when config validation is used.
* Add config validation to APNS notify platform.
* Use discovery to set up mysensors notify platform.

* Add discovery_info to get_service and update tests

* Add discovery_info as keyword argument to the get_service function
  signature and update all notify platforms.
* Update existing notify tests to check config validation using test
  helper.
* Add removed tests back in that checked config in apns, command_line
  and file platforms, but use config validation test helper to verify
  config.
* Add a test for notify file to increase coverage.
* Fix some PEP issues.

* Fix comments and use more constants

* Move apns notify service under notify domain
2017-01-15 03:53:14 +01:00
..
__init__.py Bugfix default values to timedelta (#5193) 2017-01-06 00:16:12 +01:00
acer_projector.py Bugfix voluptuous acer_projector (#3598) 2016-09-29 18:36:20 -07:00
anel_pwrctrl.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
arduino.py Migrate to voluptuous (#3737) 2016-10-11 00:56:57 -07:00
arest.py Make services yield (#4187) 2016-11-03 18:32:14 -07:00
bbb_gpio.py Update name (#5324) 2017-01-14 17:08:48 +01:00
broadlink.py Broadlink fix (#5065) 2017-01-03 23:45:11 +01:00
command_line.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
demo.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
digital_ocean.py Component for Digital Ocean (#3322) 2016-09-30 18:30:44 +02:00
digitalloggers.py New support Digital Loggers relays (#4684) 2016-12-03 23:40:22 -08:00
dlink.py Improved exception handling for D-Link switch (#4633) 2016-11-29 08:40:51 -08:00
edimax.py Prevent edimax from doing I/O in event loop (#4584) 2016-11-26 10:10:29 -08:00
enocean.py Fix broken EnOcean support (#4710) 2016-12-05 08:15:36 -08:00
flux.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
hikvisioncam.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
homematic.py Homematic update with HomematicIP/HomematicWired support and multible… (#4568) 2016-11-29 20:53:02 +01:00
hook.py Fix connection check (#4732) 2016-12-05 21:37:05 -08:00
insteon_local.py Clean-up (#5327) 2017-01-14 09:42:45 -08:00
isy994.py Add ISY programs and support for all device types (#3082) 2016-09-11 20:18:53 +02:00
kankun.py Add timeout to requests, remove pylint disable, and docsstrings (#5326) 2017-01-14 17:08:21 +01:00
knx.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
litejet.py Async cleanup part 3 (#4302) 2016-11-07 22:31:40 -08:00
mfi.py Use setup_component in tests (#3414) 2016-09-17 10:29:58 -07:00
mochad.py Add mochad component (#3970) 2016-10-24 21:49:49 -07:00
modbus.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
mqtt.py Migrate callbacks to use schedule_update_ha_state (#4426) 2016-11-17 07:34:46 -08:00
mysensors.py Add discovery notify support and mysensors notify (#5219) 2017-01-15 03:53:14 +01:00
mystrom.py Clean-up, ordering, constants, and extend of schema (#2903) 2016-08-20 15:40:16 -07:00
neato.py Neato Fixes (#4490) 2016-11-21 19:36:44 -08:00
netio.py Reorganize HTTP component (#4575) 2016-11-25 13:04:06 -08:00
orvibo.py Use constants (#3148) 2016-09-03 00:09:14 +02:00
pilight.py Fix config validation (#4853) (#4854) 2016-12-11 17:38:33 -08:00
pulseaudio_loopback.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
qwikswitch.py Update Qwikswitch: fix typing, add validation, shutdown (#2603) 2016-07-23 17:03:29 -07:00
rest.py Migrate REST switch to async (#4517) 2016-12-13 08:55:13 -08:00
rfxtrx.py Limit worker pool to 10 threads (#3560) 2016-09-28 00:05:38 -07:00
rpi_gpio.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
rpi_rf.py Add ability to set rpi_rf `tx_repeats` attribute (#5070) 2017-01-03 23:46:30 +01:00
scsgate.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
services.yaml Add mysensors IR switch device and service (#2239) 2016-06-12 23:04:45 +02:00
tellduslive.py bugfix: is_on is a property (#4889) 2016-12-13 22:58:43 -08:00
tellstick.py Improve async/multithreaded behavior of tellstick code (#4989) 2017-01-03 23:54:11 +01:00
template.py Convert switch to AsnycIO (#4382) 2016-11-15 21:06:50 -08:00
thinkingcleaner.py Fix PyLint 1.6 issues (#2471) 2016-07-07 18:54:16 -07:00
tplink.py switch.tplink: bump to the newest release of pyhs100 (#5308) 2017-01-13 22:20:47 -08:00
transmission.py Clean-up, ordering, constants, and extend of schema (#2903) 2016-08-20 15:40:16 -07:00
vera.py Fix spelling schedule_update_ha_state (#4415) 2016-11-16 08:26:29 -08:00
verisure.py Use voluptuous for Verisure (#3169) 2016-09-06 18:18:34 -07:00
wake_on_lan.py Convert switch to AsnycIO (#4382) 2016-11-15 21:06:50 -08:00
wemo.py Migrate callbacks to use schedule_update_ha_state (#4426) 2016-11-17 07:34:46 -08:00
wink.py Wink PubNub v4 (#4561) 2016-11-30 13:12:26 -08:00
zigbee.py Migrate to voluptuous (#3234) 2016-09-06 18:28:55 -07:00
zoneminder.py Maintenance zoneminder (#4102) 2016-10-29 13:10:42 -07:00
zwave.py [zwave]Use schedule_ha_state and add debug message (#5143) 2017-01-02 18:55:56 +01:00