Kane610
4b06392442
Zone component config entry support ( #14059 )
...
* Initial commit
* Add error handling to config flow
Change unique identifyer to name
Clean up hound comments
* Ensure hass home zone is created with correct entity id
Fix failing tests
* Fix rest of tests
* Move zone tests to zone folder
Create config flow tests
* Add possibility to unload entry
* Use hass.data instead of globas
* Don't calculate configures zones every loop iteration
* No need to know about home zone during setup of entry
* Only use name as title
* Don't cache hass home zone
* Add new tests for setup and setup entry
* Break out functionality from init to zone.py
* Make hass home zone be created directly
* Make sure that config flow doesn't override hass home zone
* A newline was missing in const
* Configured zones shall not be imported
Removed config flow import functionality
Improved tests
2018-04-26 17:59:22 -04:00
Matthias Urlichs
f5cc40024d
Rename homeassistant.util.async to .async_ ( #13088 )
...
"async" is (going to be) a reserved word.
2018-03-11 10:01:12 -07:00
Fabian Affolter
690760404b
Move constant to 'const.py' and use already defined ones ( #10211 )
2017-10-29 17:28:07 +01:00
Paulus Schoutsen
d29bdddaa7
Add bind_hass to components ( #8502 )
...
* Add bind_hass to components
* Add bind_hass to group
2017-07-16 10:14:46 -07:00
Fabian Affolter
3ee4d1060f
Update docstrings ( #7361 )
...
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update docstrings
* Update tomato.py
* Update isy994.py
* Lint + fix tests
* Lint
2017-04-29 22:04:49 -07:00
Robbie Trencheny
60f7a1947f
Allow extra keys in zone config
2017-04-14 14:31:10 -07:00
Pascal Vizeli
c56f99baaf
Async migration device_tracker ( #4406 )
...
* Async migration device_tracker
* change location stuff to async
* address paulus comments
* fix lint & add async discovery listener
* address paulus comments v2
* fix tests
* fix test_mqtt
* fix test_init
* fix gps_acc
* fix lint
* change async_update_stale to callback
2016-11-18 23:35:08 +01:00
Paulus Schoutsen
a343c20404
Async gather wait ( #4247 )
...
* Fix config validation for input_*, script
* Allow scheduling coroutines
* Validate entity ids when entity ids set by platform
* Async: gather -> wait
* Script/Group: use async_add_job instead of create_task
2016-11-06 09:26:40 -08:00
Fabian Affolter
be272ac64a
Disable too-many-* ( #4107 )
...
* Disable too-many-* and too-few-public-methods
* Remove globally disabled pylint warnings
2016-10-30 22:18:53 +01:00
Pascal Vizeli
08a65a3b31
Async input_*/zone migration ( #4095 )
...
* Async input_*
* Async zone component
* rename service callback
2016-10-29 12:19:27 -07:00
Paulus Schoutsen
a1488b46f6
Fix zone being setup twice
2016-09-24 00:04:03 -07:00
Paulus Schoutsen
c23ad3e285
Fix zones ( #3413 )
2016-09-15 19:40:18 -07:00
Fabian Affolter
782838af56
Use voluptuous for Zone ( #3377 )
...
* Migrate to voluptuous
* Zone: Remove unneeded latitude/longitude check
2016-09-13 23:13:10 -07:00
NMA
70fe7f747a
* Improved zone naming in waypoint import
...
* Added more test coverage for owntracks and zone
2016-08-28 13:18:30 +05:30
NMA
5a25c74276
Refactored zone creation based on code review feedback, enhanced configuration
2016-08-26 19:52:08 +05:30
NMA
ed872f6054
Fixed E302
2016-08-25 22:29:16 +05:30
NMA
47a9313fdb
Fixed variable scope issues for entities
2016-08-25 22:15:31 +05:30
NMA
ca73295dd1
Fixed style issues
2016-08-25 21:35:04 +05:30
NMA
2ca3541eac
Fixed zone test break and code style issues
2016-08-25 21:33:07 +05:30
NMA
1ada7d6211
Backend support for importing waypoints from owntracks as HA zones
2016-08-25 16:52:22 +05:30
Fabian Affolter
b534244e40
Fix PEEP257 issues
2016-03-08 17:55:57 +01:00
Fabian Affolter
b8a40457ee
Update docstrings to match PEP257
2016-03-07 18:50:30 +01:00
pavoni
d75d08e97c
Force float for zone parameters.
2016-03-06 19:07:30 +00:00
Paulus Schoutsen
53484e46a3
Move generate_entity_id to entity helpers
2016-01-23 23:00:46 -08:00
Paulus Schoutsen
bb97af1504
Allow passive zones
2016-01-22 00:00:36 -08:00
Paulus Schoutsen
fabd0ced3f
Make DEPENDENCIES optional for components
2015-11-26 13:11:59 -08:00
Fabian Affolter
97f9f8aa49
Update link to docs (Jekyll 3 update)
2015-11-09 13:12:18 +01:00
Paulus Schoutsen
4d069323f4
Add icon support to entity
2015-11-03 00:20:48 -08:00
Fabian Affolter
3c34f3dac2
Remove configuration details
2015-10-21 22:53:26 +02:00
Paulus Schoutsen
bc6c285945
Update zone doc
2015-10-04 01:40:38 -07:00
Paulus Schoutsen
9bdfa89b7c
More robust geofence checking
2015-10-02 08:16:53 -07:00
Paulus Schoutsen
1dc9bfdf73
Update config zones
2015-09-29 23:08:37 -07:00
Paulus Schoutsen
5ad27d8cdb
Add support for zones to Home Assistant
2015-09-28 23:13:13 -07:00