core/tests
Paulus Schoutsen 873bf887a5
Add OwnTracks Friends via person integration (#27303)
* Returns an unencrypted location of all persons with device trackers

* Handle encrypted messages and exclude the poster's location

* Friends is by default False. Reformats with Black

* Updates the context init to account for the Friends option

* Fix Linter error

* Remove  as a config option

* No longer imports encyrption-related functions in encrypt_message

* Fix initialization in test

* Test the friends functionality

* Bugfix for persons not having a location

* Better way to return the timestamp

* Update homeassistant/components/owntracks/__init__.py

Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io>

* Linting and tid generation

* Fix test

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-03-05 12:55:48 -08:00
..
auth Spelling: Config(uration) (#31782) 2020-02-13 08:27:00 -08:00
components Add OwnTracks Friends via person integration (#27303) 2020-03-05 12:55:48 -08:00
fixtures Initial support for HomeKit enabled televisions (#32404) 2020-03-05 13:49:56 +00:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers Improve script validation (#32461) 2020-03-05 11:44:42 -08:00
mock Black 2019-07-31 12:25:30 -07:00
resources
scripts Add Safe Mode (#30723) 2020-01-14 13:03:02 -08:00
test_util Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
testing_config Add and use percentage constant (#32094) 2020-02-28 11:46:48 -08:00
util Report which data causes JSON serialization error (#31901) 2020-02-17 10:49:42 -08:00
__init__.py
bandit.yaml Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
common.py Allow managing Lovelace storage dashboards (#32241) 2020-02-28 12:43:17 -08:00
conftest.py Fix check_real location guard (#31890) 2020-02-16 15:33:09 -08:00
test_bootstrap.py Only check frontend for safe mode if frontend wanted to be loa… (#31969) 2020-02-19 15:56:46 +01:00
test_config.py Catch unexpected exceptions when validating config (#31795) 2020-02-13 22:43:07 +01:00
test_config_entries.py Add update_entry dict to unique ID flow abort helper (#31090) 2020-01-23 11:21:19 -08:00
test_core.py Speed up validate_entity_id (#32137) 2020-02-24 08:35:02 -08:00
test_data_entry_flow.py Rework FlowManager to use inheritance (#30133) 2020-01-03 11:52:01 +01:00
test_loader.py Extend safe mode (#31927) 2020-02-18 11:52:38 -08:00
test_main.py Sort imports according to PEP8 for 'tests' (#29791) 2019-12-09 16:52:24 +01:00
test_requirements.py Sort imports for requirements.py and its test using isort (#29836) 2019-12-11 12:12:06 +01:00
test_setup.py Various string cleanups (#30435) 2020-01-03 14:47:06 +01:00