Commit graph

14 commits

Author SHA1 Message Date
Pascal Vizeli
62f970e486 Bugfix empty entity lists ()
* Bugfix empty entity lists

* Add tests

* Update test_entity_platform.py

* Update entity_platform.py
2018-06-18 09:22:52 -04:00
Paulus Schoutsen
67d137cfd5 Store config entry id in entity registry ()
* Store config entry id in entity registry

* Lint
2018-06-07 20:23:09 +02:00
Paulus Schoutsen
f47572d3c0 Allow platform unloading ()
* Allow platform unloading

* Add tests

* Add last test
2018-04-12 14:28:54 +02:00
Paulus Schoutsen
73de749411
Use config entry to setup platforms ()
* Use config entry to setup platforms

* Rename to async_forward_entry

* Add tests

* Catch if platform not exists for entry
2018-04-09 10:09:08 -04:00
Paulus Schoutsen
40d7857f3b
Prepare entity component for config entries ()
* Prepare entity component for config entries

* Return in time
2018-04-07 23:04:50 -04:00
Otto Winter
f5093b474a
Python 3.5 async with () 2018-03-17 12:27:21 +01:00
Matthias Urlichs
f5cc40024d Rename homeassistant.util.async to .async_ ()
"async" is (going to be) a reserved word.
2018-03-11 10:01:12 -07:00
Julius Mittenzwei
16cb7388ee Removing asyncio.coroutine syntax from HASS core ()
* 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 ()
* Allow renaming entities in entity registry

* Lint
2018-02-24 10:53:59 -08:00
Paulus Schoutsen
d2cea84254 Allow disabling entities in the registry () 2018-02-13 13:33:15 +01:00
Paulus Schoutsen
eb7adc74ef
Respect entity namespace for entity registry ()
* Respect entity namespace for entity registry

* Lint
2018-02-11 20:55:38 -08:00
Paulus Schoutsen
2e3524147c
Remove unique ID from netatmo ()
* Remove unique ID from netatmo

* Shame platform in error message
2018-02-11 19:33:37 -08:00
Paulus Schoutsen
17e5740a0c
Allow overriding name via entity registry ()
* Allow overriding name via entity registry

* Update requirements
2018-02-11 09:16:01 -08:00
Paulus Schoutsen
5601fbdc7a Entity layer cleanup ()
* Simplify entity update

* Split entity platform from entity component

* Decouple entity platform from entity component

* Always include unit of measurement again

* Lint

* Fix test
2018-02-08 12:16:51 +01:00