core/tests/components/switch
Anders Melchiorsen 160c7fc685 Add HTTP Basic auth to RESTful Switch (#9162)
* Add HTTP Basic auth to RESTful Switch

* Remove redundant hass passing

* Initialize to current state

The state used to be None until the first periodic poll.

This commit refactors async_update so it can be used during setup as well,
allowing the state to start out with the correct value.

* Refactor turn_on/turn_off device communication

* Remove lint

* Fix Travis errors
2017-09-09 10:20:48 -07:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
test_command_line.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_flux.py flux: fix for when stop_time is after midnight (#8932) 2017-09-02 18:02:11 +02:00
test_init.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_litejet.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_mfi.py Revise power and energy units and property names. (#6212) 2017-03-19 22:02:11 +01:00
test_mochad.py Remove more test requirements (#7574) 2017-05-13 21:25:54 -07:00
test_mqtt.py MQTT Switch - Add configurable availability payload (#8934) 2017-08-15 23:04:57 -07:00
test_rest.py Add HTTP Basic auth to RESTful Switch (#9162) 2017-09-09 10:20:48 -07:00
test_rflink.py Correct spelling of aliases, deprecate old config options. (#8348) 2017-07-06 15:59:54 +02:00
test_rfxtrx.py Split bootstrap into bs + setup (#6416) 2017-03-05 10:41:54 +01:00
test_template.py Fix attribute entity (#8066) 2017-06-17 10:03:49 -07:00
test_zwave.py Zwave: Apply refresh_node workaround on 1st instance only (#7579) 2017-05-21 17:33:42 +03:00