hass-core/homeassistant
Martin Hjelmare 5f76628665 Add MVP person component (#20290)
* Add person component

* Required first name.
* Optional last name and user id.
* Optionally track device trackers. Last device tracker state change will
  set state.
* Set device tracker state entity_id as source attribute.
* Set coordinates of device tracker state as state attributes.
* Restore state.

* Parse restored state too

* Clean up

* Add missing property decorator

* Validate source entities as device trackers

* Only use name instead of first and last name

* Add user_id validation

* Add unique_id

* Remove not needed properties

* Uniform docstrings

* Fail component setup if no valid entities

* Add tests

* Add id and use that for unique_id

* Clean up
2019-02-07 15:25:30 -08:00
..
auth Added command_line auth provider that validates credentials by calling a command (#19985) 2019-02-06 16:36:41 -08:00
components Add MVP person component (#20290) 2019-02-07 15:25:30 -08:00
helpers Add more type hints to helpers (#20811) 2019-02-07 13:34:14 -08:00
scripts Add PLATFORM_SCHEMA_BASE support to check_config.py (#20663) 2019-02-01 08:14:02 -08:00
util Load as many components in parallel as possible (#20806) 2019-02-07 22:56:40 +01:00
__init__.py
__main__.py Lint 2018-10-02 10:35:00 +02:00
bootstrap.py Load as many components in parallel as possible (#20806) 2019-02-07 22:56:40 +01:00
config.py Fix the line reference in config error message (#20743) 2019-02-04 10:58:06 -08:00
config_entries.py Fix typo in config entries doc (#20619) 2019-01-31 10:52:42 +01:00
const.py Update platform loading path (#20807) 2019-02-07 13:33:12 -08:00
core.py Update flake8 to 3.7.5 (#20761) 2019-02-05 11:12:09 +01:00
data_entry_flow.py Add webhook + IFTTT example (#16817) 2018-09-30 14:45:48 +02:00
exceptions.py Check admin permission before able to manage config entries 2018-12-13 16:13:43 +01:00
loader.py Load as many components in parallel as possible (#20806) 2019-02-07 22:56:40 +01:00
monkey_patch.py Narrow scope of various pylint inline disables (#15364) 2018-10-10 12:17:11 +02:00
package_constraints.txt Upgrade astral to 1.9.2 (#20796) 2019-02-06 22:00:39 -08:00
requirements.py Improve package loadable (#16237) 2018-08-28 12:52:18 +02:00
setup.py Load as many components in parallel as possible (#20806) 2019-02-07 22:56:40 +01:00