hass-core/tests/components/switch
Robert Svensson a795093705 UniFi POE control (#17011)
* First commit

* Feature complete?

* Add dependency

* Move setting poe mode logic to library

* Use guard clauses

* Bump requirement to 2

* Simplify saving switches with poe off

* Store and use poe mode

* Fix indentation

* Fix flake8

* Configuration future proofing

* Bump dependency to v3

* Add first test

* Proper use of defaults with config flow (thanks helto)

* Appease hound

* Make sure there can't be duplicate entries of combination host+site

* More tests

* More tests

* 98% coverage of controller

* Fix hound comments

* Config flow step init not necessary

* Use async_current_entries to check if host and site for controller is used

* Remove storing/restoring poe off devices to slim PR

* First batch of switch tests

* More switch tests.

* Small improvements and clean up

* Make tests pass
Don't name device in device registry

* Dont process clients that belong to non-UniFi POE switches

* Allow selection of site from a list in config flow

* Fix double blank lines in method

* Update codeowners
2018-10-16 10:35:35 +02:00
..
__init__.py Fix PEP257 issues 2016-03-09 10:25:50 +01:00
common.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_command_line.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_deconz.py deCONZ cover support (#16759) 2018-09-21 19:59:20 +02:00
test_flux.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_init.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_litejet.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_mfi.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_mochad.py Device Registry (#15980) 2018-08-22 10:46:37 +02:00
test_mqtt.py Add device registry to MQTT switches (#17244) 2018-10-08 14:57:07 +02:00
test_rest.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_rflink.py Add test cases and fix for device_defaults fire_event option. (#9567) 2017-09-24 15:47:59 -07:00
test_rfxtrx.py Grammar and spelling fixes (#16065) 2018-08-19 22:29:08 +02:00
test_template.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_unifi.py UniFi POE control (#17011) 2018-10-16 10:35:35 +02:00
test_vultr.py add_devices -> add_entities (#16171) 2018-08-24 16:37:30 +02:00
test_wake_on_lan.py Remove service helper (5) (#16917) 2018-09-27 23:13:11 +02:00
test_zwave.py Zwave: Apply refresh_node workaround on 1st instance only (#7579) 2017-05-21 17:33:42 +03:00