hass-core/tests
Johan Bloemberg bbda2a72f4 Rflink 433Mhz gateway platform and components (#4547)
* Initial sketches of rflink component.

* Add requirement.

* Properly load configuration.

* Bump rflink for graceful parse errors and protocol callback.

* Cleanup, documentation and linting.

* More documentation, first sensor implementation (temp & hum).

* Add brightness/dim support for newkaku protocol.

* Use separate class for dimmables.

* Make sure non-dimmable newkaku devices are turned on.

* Move some code around, add switches. Support loading from config.

* Fix bug in ignoring devices.

* Fix initial state assumption.

* Improve reliability on invalid conditions.

* Allow configuration of group for new devices.

* Sensor icons.

* Fix parsing negative numbers.

* Correct icon.

* Allow sending commands serial.

* Pluralize.

* Allow adding sensors from config.

* Fix ignoring devices and bugs in previous commit.

* Share know devices so devices from configuration don't get added as lights.

* Lookup unit from value_key.

* Remove debug.

* Start implementing event protocol in place of packet protocol.

- Added first test suite for sensors.
- This currently breaks light and switch.

* Refactor switch component to fit new rflink changes. Add test suite.

* Fix style.

* Refactor and test lights. Bring coverage to 100%.

* Use non-broken and production tested rflink module.

* Update requirements.

* Bump for logging.

* Improve readability.

* Do not use global variable but keep known device state in intended place.

* Improve docs.

* Make icon support generic.

* Disable overriding icons in config, as it belongs in customization. Only keep custom icon for entities that are able to detect a icon based on the thing they represent (sensors in this case).

* Implement configuration schema, overall refactor of magic values.

* Fix bug in config/test wait_for_ack.

* Small refactors.

* Move command logic into separate class.

* Convert command sending logic to class based pattern instead of using the event bus.

* Start not using bus for rflink event propagation to platforms.

* Do not use event bus for all entity types.

* Fire an event on the bus for every switch incoming rflink command.

* Resolve lint errors, remove some old code.

* Known devices no longer need to be registered separately.

* Log bus events.

* Event callback is a..... callback.

* Use full entity id for events.

* Move event sending to entity.

* Log incoming events.

* Make firing events optional inline with rfxtrx.

* Add foundation for signal repetition.

* Add signal repetition config and tests.

* Make plain switchable type explicitly configurable.

* Enable default entity settings for automatically added entities as well.

* Prevent default configuration leaking accross entities.

* Make sure device defaults don't get overwritten by defaults further down.

* Don't let fast state switching and repetitions turn your house into a disco.

* Make repetitions more responsive.

* Disable on/off fallback on dimmables as it currently doesn't play nice with repetitions.

* Use rflink that allows send_command_ack to be safely cancelled.

* Reduce duplication and make repeat work for non-ack.

* Implement reconnection logic.

* Improve reconnection logic.

* Also cancel repetitions when entity state is changed due to external command.

* Update requirements.

* Fix linting.

* Fix spelling.

* Don't lie.

* Fix lint.

* Support for automatically creating protocol translation (fixes spaces in device names).

* Returned support for dimmable and on/off entity.

* Duplicate code to fix linting issues with inheritance.

* Allow overriding unit of measurement from config.
2017-01-31 08:11:52 -08:00
..
components Rflink 433Mhz gateway platform and components (#4547) 2017-01-31 08:11:52 -08:00
fixtures Added new Washington State DOT sensor. (#5496) 2017-01-24 22:08:19 -08:00
helpers Add unittest for cleanup not validate ssl stuff. (#5643) 2017-01-30 13:09:36 +01:00
resources
scripts check_config: Add support for packages (#5574) 2017-01-26 21:42:14 -08:00
test_util Aiohttp client unittest (#5635) 2017-01-29 16:15:40 -08:00
testing_config/custom_components Move part of image_processing tests (#5634) 2017-01-29 14:40:37 -08:00
util Fix load_yaml default value (#5383) 2017-01-16 22:08:47 -08:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
common.py Don't start test thread as daemon and wait until patching is done (#5494) 2017-01-23 07:03:55 +02:00
conftest.py Upgrade linter (#4461) 2016-11-18 21:47:59 -08:00
test_bootstrap.py Bugfix async log handler (#4954) 2016-12-17 12:21:52 -08:00
test_config.py Apply new customize format to Zwave (#5603) 2017-01-28 22:29:51 +02:00
test_core.py Add elevation to as_dict and use unified style for quoting (#5448) 2017-01-19 23:55:29 -08:00
test_loader.py Disable too-many-* (#4107) 2016-10-30 22:18:53 +01:00
test_main.py Migrate core from threads to async awesomeness (#3248) 2016-09-12 19:16:14 -07:00
test_remote.py Reserve a test port for broken api to fix race (#5371) 2017-01-16 12:56:47 -08:00