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
Jason Hu
f6935b5d27
Upgrade voluptuous-serialize to 2.0.0 ( #15763 )
...
* Upgrade voluptuous-serialize to 2.0.0
* Change to 2.0.0
2018-08-03 05:23:26 -07:00
Paulus Schoutsen
d9cf8fcfe8
Allow changing entity ID ( #15637 )
...
* Allow changing entity ID
* Add support to websocket command
* Address comments
* Error handling
2018-07-24 14:12:53 +02:00
John Arild Berentsen
1b94fe3613
Add ability to set Zwave protection commandclass ( #15390 )
...
* Add API for protection commandclass
* Adjusting
* tests
* Spelling
* Missed flake8
* Period
* spelling
* Review changes
* removing additional .keys()
* period
* Move i/o out into executor pool
* Move i/o out into executor pool
* Forgot get method
* Do it right... I feel stupid
* Long lines
* Merging
2018-07-23 15:31:12 +02:00
Jerad Meisner
396895d077
Added WS endpoint for changing homeassistant password. ( #15527 )
...
* Added WS endpoint for changing homeassistant password.
* Remove change password helper. Don't require current password.
* Restore current password verification.
* Added tests.
* Use correct send method
2018-07-19 09:39:51 +02:00
Paulus Schoutsen
70fe463ef0
User management ( #15420 )
...
* User management
* Lint
* Fix dict
* Reuse data instance
* OrderedDict all the way
2018-07-13 15:31:20 +02:00
Paulus Schoutsen
a6880c452f
Migrate entity registry to using websocket ( #14830 )
...
* Migrate to using websocket
* Lint
2018-06-06 10:08:36 +02:00
Paulus Schoutsen
ad9621ebe5
Use hass iconset ( #14185 )
2018-06-05 10:49:54 -04:00
Paulus Schoutsen
853a16938b
Fix poorly formatted automations ( #14196 )
2018-04-30 09:56:42 -04:00
Paulus Schoutsen
5ed73fecd3
Order the output of the automation editor ( #14019 )
...
* Order the output of the automation editor
* Lint
2018-04-23 13:47:06 -04:00
Paulus Schoutsen
534aa0e4b5
Add data entry flow helper ( #13935 )
...
* Extract data entry flows HTTP views into helper
* Remove use of domain
* Lint
* Fix tests
* Update doc
2018-04-17 11:44:32 +02:00
Paulus Schoutsen
bba997e484
Fix race condition for component loaded before listening ( #13887 )
...
* Fix race condition for component loaded before listening
* async/await syntax
2018-04-14 17:58:45 -04:00
Paulus Schoutsen
60508f7215
Extract config flow to own module ( #13840 )
...
* Extract config flow to own module
* Lint
* fix lint
* fix typo
* ConfigFlowHandler -> FlowHandler
* Rename to data_entry_flow
2018-04-13 10:14:53 -04:00
Paulus Schoutsen
92bd932679
Always enable config entries & remove config_entry_example ( #13663 )
2018-04-03 23:23:21 +02:00
Paulus Schoutsen
67c49a7662
Add config flow for Hue ( #12830 )
...
* Add config flow for Hue
* Upgrade to aiohue 0.2
* Fix tests
* Add tests
* Add aiohue to test requirements
* Bump aiohue dependency
* Lint
* Lint
* Fix aiohttp mock
* Lint
* Fix tests
2018-03-03 21:28:04 -08:00
Julius Mittenzwei
16cb7388ee
Removing asyncio.coroutine syntax from HASS core ( #12509 )
...
* changed asyncio.coroutine syntax to new async def/await
* removed py34 from tox environment
* reverted some changes within entity.py
* -
* reverted changes within bootstrap.py
* reverted changes within discovery.py
* switched decorators
* Reverted change within aiohttp_client.py
* reverted change within logging.py
* switched decorators
* Await lock properly
* removed asyncio.coroutine from test
2018-02-25 03:38:46 -08:00
Paulus Schoutsen
6d431c3fc3
Allow renaming entities in entity registry ( #12636 )
...
* Allow renaming entities in entity registry
* Lint
2018-02-24 10:53:59 -08:00
Paulus Schoutsen
8d0b7adf24
Fix config 404 ( #12571 )
2018-02-21 13:16:08 +01:00
Paulus Schoutsen
d68a24b3b8
Update voluptuous serialize ( #12538 )
2018-02-19 22:12:39 -08:00
Paulus Schoutsen
e4ef6b91d6
Typo
2018-02-16 23:24:12 -08:00
Paulus Schoutsen
b3a47722f0
Initial support for Config Entries ( #12079 )
...
* Introduce Config Entries
* Rebase fail
* Address comments
* Address more comments
* RequestDataValidator moved
2018-02-16 14:07:38 -08:00
Ryan McLean
37efd5a5cd
Fixed typo in automation.py ( #11116 )
2017-12-13 10:17:12 +01:00
Andrey
4ebc52ab52
Reload groups after saving a change via config API ( #10877 )
2017-12-01 12:53:46 -08:00
John Arild Berentsen
1bb37aff0c
Add loglinefetch for frontend API call ( #10579 )
...
* Add loglinefetch for frontend API call
* Too many blank lines
* Review changes
* review changes
* Only return a text
* Use aiohttp
* Don't do I/O in event loop
* Move lines to query and default to 0
* Small fixes
2017-11-16 22:07:08 -08:00
John Arild Berentsen
5410700708
Zwave save cache to file now. ( #10381 )
...
* Add save config
* Add API to save Z-Wave cache to file immediatley.
* lint
* remove none assignment
* docstring
2017-11-06 15:15:52 +01:00
Paulus Schoutsen
d13f3eca92
Update frontend to 20171027.1
2017-10-26 22:29:59 -07:00
Paulus Schoutsen
2bdad5388b
Consolidate frontend ( #9915 )
...
* Consolidate frontend
* Remove home-assistant-polymer submodule
* Convert to using a pypi package for frontend
* fix release script
* Lint
* Remove unused file
* Remove frontend related scripts
* Move hass_frontend to frontend REQUIREMENTS
* Fix tests
* lint
* Address comments
* Lint + fix tests in py34
* Fix py34 tests again
* fix typo
2017-10-24 19:36:27 -07:00
John Arild Berentsen
cc1979691e
Add polling interval service and setting available through zwave node entity panel ( #9056 )
...
* Add polling interval to value panel
* Blank lines removal
* Update tests
* Remove old config method
* Raound 1
* Round 2
* Comment spacing
* Expose value_id in attributes
2017-09-11 20:30:48 +02:00
Andrey
c73338bf3e
Backend changes for customize config panel. ( #9134 )
...
* Backend changes for customize config panel.
* Backend changes for customize config panel.
* Add customize.yaml to default config
* Precreate customize.yaml
* Add tests
2017-08-26 10:02:32 -07:00
Paulus Schoutsen
2dab239021
Add scripts editor backend ( #8993 )
...
* Add scripts editor backend
* Fix docstrings
2017-08-15 22:09:10 -07:00
Paulus Schoutsen
9575cbde09
Consolidate config panels ( #8857 )
...
* Remove automation panel registration
* Move Z-Wave config API to config.zwave
* Remove no longer needed test
* Lint
* Update frontend
2017-08-06 12:05:34 -07:00
Paulus Schoutsen
5d820ec188
Add support for automation config panel ( #7509 )
...
* Add support for automation config
* Build fromtend
* Lint
2017-05-09 18:44:00 -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
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00
Paulus Schoutsen
d789de9ea2
Config fix ( #6261 )
2017-02-26 15:28:12 -08:00
Paulus Schoutsen
3a35642dc1
Remove automatically reloading group config ( #6197 )
2017-02-23 22:40:21 -08:00
Paulus Schoutsen
32873508b7
Add initial group config ( #6135 )
2017-02-20 21:53:55 -08:00
Paulus Schoutsen
b969fea900
Z-Wave config panel fix ( #6113 )
2017-02-19 22:25:03 -08:00
Paulus Schoutsen
409b74b780
Update hassbian component with real output ( #5989 )
2017-02-14 09:34:17 -08:00
Paulus Schoutsen
0effe14619
Z-Wave file name fix ( #5985 )
2017-02-13 21:58:16 -08:00
Paulus Schoutsen
36c196f9e8
Add initial Z-Wave config panel ( #5937 )
...
* Add Z-Wave config panel
* Add config to Z-Wave dependencies
* Lint
* lint
* Add tests
* Remove temp workaround
* Lint
* Fix tests
* Address comments
* Fix tests under Py34
2017-02-13 21:34:36 -08:00
Paulus Schoutsen
dab6d011ca
Add check_config API ( #5898 )
...
* Add check_config API
* Add config panel to default config
* Add tests
* Lint
* lint
2017-02-12 11:31:46 -08:00
Paulus Schoutsen
44311193ef
Add config component and hassbian example panel ( #5868 )
...
* Add hassbian panel
* Rename to generic config panel
* Allow loading hassbian as test
* Add tests
* Update frontend
* Lint
* Lint
2017-02-11 17:29:05 -08:00