Marc Mueller
2b72b7b7b9
Use assignment expressions 09 ( #57790 )
2021-10-17 20:19:56 +02:00
Marc Mueller
5048bad050
Use assignment expressions 05 ( #57785 )
2021-10-17 19:56:00 +02:00
Erik Montnemery
e27e4c3561
Add support for device configuration URL ( #57539 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-14 11:16:56 -07:00
Erik Montnemery
4b3d423767
Add config and diagnostic entities ( #57528 )
...
* Add config entity concept
* Rename is_config_entity to entity_category
* Add test
* Add 'diagnostic' entity category
2021-10-14 10:04:26 +02:00
Erik Montnemery
bdbedd0f06
Alphabetize parts of device registry code ( #57532 )
2021-10-12 12:08:59 +02:00
Ville Skyttä
cc97502a0c
Use HTTPStatus instead of HTTP_* consts in aiohttp web response statuses ( #56541 )
2021-10-01 09:27:44 -07:00
Ville Skyttä
d8d34fdd3b
Prefer HTTPStatus over int in HA view JSON functions ( #56504 )
...
* Prefer HTTPStatus over int in HA view JSON functions
* Update zwave tests to not expect a fixed typo
2021-09-22 21:59:52 +03:00
Marc Mueller
48bada5a18
Update pylint to 2.11.1 ( #56364 )
2021-09-18 13:52:59 +02:00
Paulus Schoutsen
952d11cb03
Ensure internal/external URL have no path ( #54304 )
...
* Ensure internal/external URL have no path
* Fix comment typo
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-09 09:38:09 +02:00
Marc Mueller
10bfc78365
Fix missing encoding with open() ( #53593 )
...
* Fix missing encoding with open()
* Fix tests
* Improve open - frontend
2021-07-28 09:41:45 +02:00
Franck Nijhof
1968b95829
Add currency core configuration ( #53541 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-07-28 08:55:58 +02:00
Joakim Sørensen
85c1614204
Add currency to location data ( #53575 )
2021-07-27 21:05:16 -07:00
Paulus Schoutsen
ee2c950716
Merge system options into pref properties ( #51347 )
...
* Make system options future proof
* Update tests
* Add types
2021-06-01 22:34:31 +02:00
Paulus Schoutsen
4821484d2c
Add system option to disable polling ( #51299 )
2021-05-31 15:36:40 -07:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Bram Kragten
4d939486a9
Fix updating owner user/auth ( #50087 )
...
Check if `is_active` is in update msg
2021-05-04 14:26:48 -07:00
Bram Kragten
301d4b0657
Fix saving a scene ( #49980 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-02 22:11:57 -07:00
Franck Nijhof
c68b259bd3
Cleanup of unused connection_class logic ( #49865 )
...
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-04-29 23:12:58 +02:00
Franck Nijhof
89e7983ee0
Add Blueprint foundation to Scripts ( #48621 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-04-27 15:15:38 -07:00
Bram Kragten
9e7d83b2d5
Don't combine old and new value on scene update ( #49248 )
2021-04-26 23:38:30 +02:00
Ville Skyttä
a396619251
Use disabled_by constants ( #49584 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-04-23 09:56:42 +02:00
Paulus Schoutsen
265fdea83b
Allow config entries to store a reason ( #49581 )
2021-04-23 09:23:43 +02:00
Marc Mueller
8e2b5b36b5
Bump pyupgrade to 2.12.0 ( #48943 )
2021-04-09 09:58:27 -07:00
Erik Montnemery
d26d2a8446
Return config entry details for 1-step config flows ( #48585 )
2021-04-01 16:20:53 +02:00
Franck Nijhof
855b68faa1
Remove HomeAssistantType alias from entity components - Part 1 ( #48467 )
2021-03-29 13:24:36 -10:00
Erik Montnemery
374dcde487
Return config entry details after creation ( #48316 )
2021-03-26 18:31:29 +01:00
Erik Montnemery
a9a9e1f199
Tweak automation tracing ( #47721 )
2021-03-10 14:42:13 -08:00
Erik Montnemery
704000c049
Add support for breakpoints in scripts ( #47632 )
2021-03-09 21:23:11 -08:00
Erik Montnemery
a243adc551
Add WS command to get a summary of automation traces ( #47557 )
...
* Add WS command to get a summary of automation traces
* Update tests
* Correct rebase mistake, update tests
2021-03-08 20:30:52 +01:00
Erik Montnemery
17401cbc29
Initial automation tracing ( #46755 )
...
* Initial prototype of automation tracing
* Small fixes
* Lint
* Move trace helpers to its own file
* Improve trace for state and numeric_state conditions
* Tweaks + apply suggestions from code review
* Index traces by automation_id, trace while script is running
* Refactor condition tracing
* Improve WS API to get traces for single automation
* Add tests
* Fix imports
* Fix imports
* Address review comments
* Cap logging of loops
* Remove unused ContextVar action_config
2021-03-04 14:16:24 +01:00
Erik Montnemery
5e26bda52d
Add support for disabling config entries ( #46779 )
2021-02-20 19:21:39 -08:00
Erik Montnemery
f1714dd541
Make some Area and EntityRegistry member functions callbacks ( #46433 )
2021-02-12 17:00:35 +01:00
Ville Skyttä
a6358430b4
Fix deprecated asyncio.wait use with coroutines ( #44981 )
...
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00
Philip Allgaier
89fc92f68a
Slightly improve error message in case of duplicate entity IDs ( #45424 )
2021-01-22 09:16:13 -05:00
Paulus Schoutsen
e83ced6737
Add name to ignored entries ( #45051 )
...
* Add name to ignored entries
* Fix test
2021-01-12 09:26:20 +01:00
Erik Montnemery
30baf333c3
Improve handling of disabled devices ( #43864 )
2020-12-02 21:20:14 +01:00
Philip Allgaier
6fadc3e140
Make "invalid password" error message clearer ( #43853 )
2020-12-02 14:24:47 +01:00
Philip Allgaier
bf4e6a289a
Add option to deactivate a user ( #43463 )
2020-11-27 09:13:16 +01:00
Erik Montnemery
dc8364fd3a
Support disabling devices ( #43293 )
2020-11-26 16:45:02 +01:00
Philip Allgaier
82b7cc8ac7
Provide HA username via auth WS ( #43283 )
2020-11-20 15:42:19 +01:00
Franck Nijhof
6f326a7ea4
Add support for multiple event triggers in automation ( #43097 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-11-12 11:58:28 +01:00
Erik Montnemery
5694e4190c
Extend WS API result when enabling an entity ( #42667 )
...
* Extend WS API result when enabling an entity
* Fix tests
* Fix tests
* Move updated registry entry to sub dict
* Address review comments
* Increase test coverage
2020-11-09 19:47:45 +01:00
Robert Svensson
e06c8009e1
Add area id to entity registry ( #42221 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-24 21:25:28 +02:00
J. Nick Koston
ad5273ded1
Update config to use async_add_executor_job ( #41452 )
2020-10-08 09:20:39 +02:00
J. Nick Koston
9ccebdb8d5
Refactor group to extend domains that can be grouped ( #40607 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-09-30 09:13:53 -05:00
springstan
db582bdc1b
Use http status constants more, add HTTP_ACCEPTED and HTTP_BAD_GATEWAY ( #39993 )
...
* Use http status codes and add HTTP_BAD_GATEWAY constant
* Address review comments:
- using constants in tado integration
- using constant in media_player init.py
* Add and use HTTP_ACCEPTED constant
2020-09-15 20:01:07 +03:00
Paulus Schoutsen
6348884735
Allow passing in user id instead of username to change password ( #39266 )
2020-08-26 23:37:33 +02:00
J. Nick Koston
e109b04efe
Add api to reload config entries ( #39068 )
2020-08-26 00:59:22 +02:00
Paulus Schoutsen
9979e465aa
Fix hassio auth data ( #39244 )
...
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
2020-08-25 14:22:50 +02:00
Paulus Schoutsen
13df3bce1b
Allow owner users to change password of any user ( #39242 )
2020-08-25 13:49:32 +02:00