Commit graph

10 commits

Author SHA1 Message Date
Paulus Schoutsen
f704a8e90e Reload config entry when entity enabled in entity registry, remove entity if disabled. ()
* Reload config entry when disabled_by updated in entity registry

* Add types

* Remove entities that get disabled

* Remove unnecessary domain checks.

* Attach handler in async_setup

* Remove unused var

* Type

* Fix test

* Fix tests
2019-08-22 19:32:43 -05:00
Paulus Schoutsen
aa56b4dd30
Log warning if disabled entities receive updates. ()
* Log warning if disabled entities receive updates.

* Fix test

* Always set entity ID on disabled entities
2019-08-22 14:12:24 -07:00
Paulus Schoutsen
eba6caf8a1
Entity registry api update disable ()
* Clean up entity registry WS commands

* Allow updating disabled_by in entity registry

* Allow changing disabled_by via API

* Update tests/components/config/test_entity_registry.py

Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>
2019-08-16 16:22:45 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen
8062f48973
Add remove commmand to entity registry () 2019-01-30 09:50:32 -08:00
Paulus Schoutsen
05c0717167
Add websocket list APIs for the registries ()
* Add websocket list APIs for the registries

* Remove identifiers

* Fix tests

* Use ordered dict
2018-09-14 11:57:18 +02:00
Paulus Schoutsen
d9cf8fcfe8
Allow changing entity ID ()
* Allow changing entity ID

* Add support to websocket command

* Address comments

* Error handling
2018-07-24 14:12:53 +02:00
Paulus Schoutsen
a6880c452f Migrate entity registry to using websocket ()
* Migrate to using websocket

* Lint
2018-06-06 10:08:36 +02:00
Paulus Schoutsen
89a19c89a7 Fix aiohttp deprecation warnings ()
* Fix aiohttp deprecation warnings

* Fix Ring deprecation warning

* Lint
2018-03-15 21:49:49 +01:00
Paulus Schoutsen
6d431c3fc3
Allow renaming entities in entity registry ()
* Allow renaming entities in entity registry

* Lint
2018-02-24 10:53:59 -08:00