Files
core/tests/components
Malte Franken f20a3313b0 Geo Location component (#15953)
* initial working version of a geo location component and georss platform

* ensure that custom attributes don't override built-in ones

* bugfixes and tests

* fixing tests because of introduction of new component using same fixture

* improving test cases

* removing potentially unavailable attribute from debug message output

* completing test suite

* cleaning up debug messages; sorting entries in group view by distance

* ability to define the desired state attribute and corresponding unit of measurement; sort devices in group by configured state; find centroid for map if event is defined by polygon; updated tests

* sort entries in group; code clean-ups

* fixing indentation

* added requirements of new component and platform

* fixed various lint issues

* fixed more lint issues

* introducing demo geo location platform; refactored geo location component and geo rss platform to fit

* removing geo rss events platform; added unit tests for geo location platform and demo platform

* reverting change in debug message for feedreader to avoid confusion with new geo location component

* updated requirements after removing georss platform

* removed unused imports

* fixing a lint issue and a test case

* simplifying component code; moving code into demo platform; fixing tests

* removed grouping from demo platform; small refactorings

* automating the entity id generation (the use of an entity namespace achieves the same thing)

* undoing changes made for the georss platform

* simplified test cases

* small tweaks to test case

* rounding all state attribute values

* fixing lint; removing distance from state attributes

* fixed test

* renamed add_devices to add_entities; tweaked test to gain more control over the timed update in the demo platform

* reusing utcnow variable instead of patched method

* fixed test by avoiding to make assumptions about order of list of entity ids

* adding test for the geo location event class
2018-08-30 13:58:23 +02:00
..
2018-08-13 11:27:18 +02:00
2018-08-14 21:14:12 +02:00
2018-08-20 17:39:53 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 16:37:30 +02:00
2018-08-19 22:29:08 +02:00
2018-08-24 10:39:35 +02:00
2018-08-14 21:14:12 +02:00
2018-08-29 17:04:04 +02:00
2018-08-19 22:29:08 +02:00
2018-08-19 22:29:08 +02:00
2018-08-13 11:27:18 +02:00
2018-08-19 22:29:08 +02:00
2018-08-19 22:29:08 +02:00
2016-03-09 10:25:50 +01:00
2018-08-14 21:14:12 +02:00
2018-01-27 11:58:27 -08:00
2017-09-24 15:48:45 -07:00
2018-03-30 21:33:30 +02:00
2018-08-20 17:39:53 +02:00
2017-10-27 10:15:47 +02:00
2018-07-20 11:45:20 +03:00
2018-02-17 10:29:14 +01:00
2017-03-30 00:50:53 -07:00
2018-05-14 09:13:59 +02:00
2018-07-17 19:34:29 +02:00
2018-01-05 16:34:03 -08:00