Penny Wood
84e6813779
Rename via_hub to via_device ( #24360 )
...
* Rename via_hub to via_device
* Fixed registry interactions
2019-06-10 09:10:44 -07:00
Paulus Schoutsen
b90636f640
Update home zone when core config updated ( #24237 )
...
* Update home zone when core config updated
* Lint
2019-05-31 23:03:45 -07:00
Paulus Schoutsen
1a3a38d370
Dynamic panels ( #24184 )
...
* Don't require all panel urls to be registered
* Allow removing panels, fire event when panels updated
2019-05-30 13:37:01 +02:00
Paulus Schoutsen
f995ab9d54
Don't pass in loop ( #23984 )
...
* Don't pass in loop
* Revert some changes
* Lint + Axis revert
* reinstate loop
* Fix a test
* Set loop
* Update camera.py
* Lint
2019-05-22 21:09:59 -07:00
Paulus Schoutsen
9e96397e6a
Require core config detection to be triggerd manually ( #24019 )
...
* Detect core config
* Remove elevation
* Lint
* Lint
* Fix type
2019-05-22 17:24:46 -07:00
Erik Montnemery
fc58746bc3
Add websocket API for updating core config ( #24009 )
...
* Add websocket API for updating core config
2019-05-21 07:21:31 +02:00
Paulus Schoutsen
a859997190
Allow deletion of automations and scripts ( #23845 )
2019-05-14 09:16:36 +02:00
Paulus Schoutsen
1e22c8daca
Automatically generate config flow list ( #23802 )
...
* Add config flow to manifest.json
* Still load config flows via config flow platform
* Fix typo
* Lint
* Update config_flows.py"
* Catch import error when setting up entry
* Lint
* Fix tests
* Fix imports
* Lint
* Fix Unifi tests
* Fix translation test
* Add homekit_controller config flow
2019-05-13 01:16:55 -07:00
Paulus Schoutsen
a52f96b23a
Add stub services.yaml and make validation mandatory ( #23213 )
2019-04-18 15:13:35 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
cfe4cf30ad
Add manifests ( #22699 )
...
* Add manifests
* Update auto name
* Update codeowners
* Add requirements from platforms
* Minor cleanup
* Incorporate changes from awarecan PR
2019-04-03 21:14:45 -07:00
Paulus Schoutsen
65432ba552
Move core stuff into Home Assistant integration ( #22407 )
...
* Move core stuff into Home Assistant integration
* Lint
2019-03-26 13:38:32 +01:00
uchagani
0c4380a78d
remove config sections from hass.config.components ( #22370 )
...
* remove config sections from hass.config.components
* fix tests
2019-03-25 22:36:39 -07:00
Paulus Schoutsen
f1a0ad9e4a
Frontend indicate require admin ( #22272 )
...
* Allow panels to indicate they are meant for admins
* Panels to indicate when they require admin access
* Do not return admin-only panels to non-admin users
* Fix flake8
2019-03-25 10:04:35 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Paulus Schoutsen
941f9b29dc
Return config entry ID after creation ( #22060 )
2019-03-15 07:41:34 -07:00
Paulus Schoutsen
9416af5b56
Allow changing password without being admin ( #21978 )
2019-03-12 11:49:28 -07:00
Paulus Schoutsen
8bfbe3e085
Add update user command ( #21922 )
...
* Add update user command
* Add is_admin to current user
2019-03-11 12:08:02 -07:00
Paulus Schoutsen
22ab5a498f
Change how we import config modules ( #21824 )
2019-03-08 14:09:18 -08:00
Paulus Schoutsen
4c9e5eef9c
Remove stub from config component ( #21822 )
2019-03-08 14:07:49 -08:00
David F. Mulcahey
c4400be62a
Add friendly name to devices in the device registry ( #21318 )
...
* add friendly name to devices in the device registry
* switch to name_by_user
* review comments
2019-02-26 12:20:16 -08:00
Robert Svensson
d9712027e8
Config entry options ( #18929 )
...
Add support for options flow for config entries
2019-02-22 17:59:43 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
8062f48973
Add remove commmand to entity registry ( #20597 )
2019-01-30 09:50:32 -08:00
Paulus Schoutsen
7c9597f824
Fix area registry config being loaded ( #20598 )
...
* Fi area registry config being loaded
* Mark area_id optional
2019-01-30 09:41:55 -08:00
Robert Svensson
bd335e1ac1
Area registry ( #20435 )
...
* First draft of area registry
* Refactor based on input
* Add tests for areas
Add tests for updating device
* Updating a device shouldn't require area
* Fix Martins comment
* Require admin
* Save after deleting
* Rename read to list_areas
Fix device entry_dict
Remove area id from device when deleting area
* Fix tests
2019-01-28 15:52:42 -08:00
Glen Takahashi
b031ded671
Fix not being able to update entities ( #19344 )
...
When editing an entity in the frontend dialog, pressing save causes a "save failed: Entity is already registered" error. This is because the frontend always sets `name` and `new_entity_id` in the websocket command even if they haven't been changed. This adds a check that the `new_entity_id` is actually different from `entity_id` before erroring that the `new_entity_id` is already registered.
2018-12-16 13:06:27 -05:00
Paulus Schoutsen
4f98818258
Rename is_owner decorator to is_admin ( #19266 )
...
* Rename is_owner decorator to is_admin
* Update test_auth.py
2018-12-14 10:19:27 +01:00
Paulus Schoutsen
a5a896b519
Check admin permission before able to manage config entries ( #19265 )
...
* Check admin permission before able to manage config entries
* Lint
2018-12-14 10:19:04 +01:00
Paulus Schoutsen
90df932fe1
Check admin permission before able to manage config entries
2018-12-13 16:13:43 +01:00
Erik
d03dfd985b
Review comments
2018-12-12 16:30:42 +01:00
Erik
c7492b0feb
Move check to websocket
2018-12-11 20:20:57 +01:00
Erik
1f8156e26c
Fail if new entity_id is in hass.states
2018-12-11 17:17:42 +01:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
Paulus Schoutsen
c3b1121d77
Add group foundation ( #16935 )
...
Add group foundation
2018-10-08 16:35:38 +02:00
Paulus Schoutsen
4210835dcd
Async response all the things ( #17073 )
...
* Use async_response
* Update device_registry.py
2018-10-03 07:53:54 +02:00
cdce8p
7f0a50ce31
async_create_task ( #17059 )
...
* async_create_task
* Update google.py
2018-10-02 11:03:09 +02:00
cdce8p
90f71261c5
Remove service helper (8) ( #17055 )
...
* Updated keyboard
* Updated microsoft_face
* Updated ffmpeg
* Updated logger
* Updated components/__init__.py
2018-10-02 10:23:37 +02:00
Paulus Schoutsen
2e6346ca43
Break up websocket 2 ( #17028 )
...
* Break up websocket 2
* Lint+Test
* Lintttt
* Rename
2018-10-01 16:09:31 +02:00
Paulus Schoutsen
22a80cf733
Break up websocket component ( #17003 )
...
* Break up websocket component
* Lint
2018-10-01 11:21:00 +02:00
cdce8p
8444b9ba03
Async syntax 2, camera & climate & config ( #17016 )
2018-10-01 08:50:05 +02:00
cdce8p
f879ac0993
Remove service helper (6) ( #16920 )
...
* Update automation
* Update group
* Async_create_task
2018-09-27 23:14:09 +02:00
cdce8p
70b901017f
Remove service helper (5) ( #16917 )
...
* Update switch
* Update script
* Update light
* Fix tests
* Fix config/script hook
* Async_create_task
* Fix flux switch
2018-09-27 23:13:11 +02:00
Paulus Schoutsen
b8257866f5
Clean up device update, add via-hub ( #16659 )
...
* Clean up device update, add via-hub
* Test loading/saving data
* Lint
* Add to Hue"
* Lint + tests
2018-09-17 13:39:30 +02:00
Paulus Schoutsen
201fd4afee
Add config entries to connection class ( #16618 )
2018-09-17 10:12:46 +02:00
Paulus Schoutsen
05c0717167
Add websocket list APIs for the registries ( #16597 )
...
* Add websocket list APIs for the registries
* Remove identifiers
* Fix tests
* Use ordered dict
2018-09-14 11:57:18 +02:00
Jason Hu
4291bdc6b2
Move voluptuous-serialize to core requirement ( #16507 )
2018-09-09 09:49:51 +02:00
Ville Skyttä
dd9d53c83e
Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 ( #14557 )
...
* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0
* Pydocstyle D401 fixes
2018-08-24 10:28:43 +02:00
Jason Hu
50daef9a52
Add context to login flow ( #15914 )
...
* Add context to login flow
* source -> context
* Fix unit test
* Update comment
2018-08-13 11:27:18 +02:00
Jason Hu
f58425dd3c
Refactor data entry flow ( #15883 )
...
* Refactoring data_entry_flow and config_entry_flow
Move SOURCE_* to config_entries
Change data_entry_flow.FlowManager.async_init() source param default
to None
Change this first step_id as source or init if source is None
_BaseFlowManagerView pass in SOURCE_USER as default source
* First step of data entry flow decided by _async_create_flow() now
* Lint
* Change helpers.config_entry_flow.DiscoveryFlowHandler default step
* Change FlowManager.async_init source param to context dict param
2018-08-09 13:24:14 +02:00