1
mirror of https://github.com/home-assistant/core synced 2024-10-04 07:58:43 +02:00
ha-core/tests
Malte Franken 13bb2ea35a GeoNet NZ Quakes Sensor (#26078)
* working version of status sensor

* changed unit of measurement

* align naming with feed source

* simplified sensor name

* fix potential issue during initialisation

* fixed tests

* changed icon to constant

* added tests for new sensor

* split tests for geolocation vs sensor

* fixed lint

* fixed pylint

* fixed test

* removed config entry id from attributes

* moved entity manager to component

* fix issue with multiple config entries overriding each other's data

* creating async tasks instead of awaiting each unloading

* moved manager to component

* correctly triggering update only when this component is loaded

* fixed tests after major code refactorings

* fixed pylint

* moved actual creation of new events to geolocation platform

* changed all timestamps to utc

* changed the way platforms are setup and manager is updated

* simplify assert statement

* changed the way waiting for unloading platforms
2019-09-03 17:16:13 +02:00
..
auth Black 2019-07-31 12:25:30 -07:00
components GeoNet NZ Quakes Sensor (#26078) 2019-09-03 17:16:13 +02:00
fixtures Add support for Homekit accessory battery sensors (#26210) 2019-08-31 13:18:18 +01:00
helpers Fix for 0.98: Don't update disabled entities (Homematic IP Cloud) (#26236) 2019-08-28 13:38:20 -07:00
mock Black 2019-07-31 12:25:30 -07:00
resources
scripts Integration requirement check refactor (#25626) 2019-08-07 15:35:50 -07:00
test_util Black 2019-07-31 12:25:30 -07:00
testing_config Black 2019-07-31 12:25:30 -07:00
util Black 2019-07-31 12:25:30 -07:00
__init__.py
common.py Add system options to config entries (#25926) 2019-08-17 21:34:11 -07:00
conftest.py Black 2019-07-31 12:25:30 -07:00
test_bootstrap.py Black 2019-07-31 12:25:30 -07:00
test_config_entries.py Reload config entry when entity enabled in entity registry, remove entity if disabled. (#26120) 2019-08-22 19:32:43 -05:00
test_config.py Allow components with empty list config (i.e. person) in packages (#25827) 2019-08-10 16:30:33 -07:00
test_core.py Black 2019-07-31 12:25:30 -07:00
test_data_entry_flow.py Black 2019-07-31 12:25:30 -07:00
test_loader.py Black 2019-07-31 12:25:30 -07:00
test_main.py Black 2019-07-31 12:25:30 -07:00
test_requirements.py Integration requirement check refactor (#25626) 2019-08-07 15:35:50 -07:00
test_setup.py Black 2019-07-31 12:25:30 -07:00