Erik Montnemery
31a787558f
Ensure recorder test fixture is setup before hass fixture ( #80528 )
...
* Ensure recorder test fixture is setup before hass fixture
* Adjust more tests
2022-10-19 07:58:47 +02:00
Franck Nijhof
dd266b7119
Remove elevation warning from sun ( #80239 )
2022-10-14 15:23:44 +02:00
Janick Bergeron
f21a004aa9
Fix before sunrise OR after sunset condition ( #76143 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Ben Randall <veleek@gmail.com>
2022-10-14 13:11:10 +02:00
Erik Montnemery
59d9d3de69
Add at_started helper ( #79577 )
2022-10-05 12:24:51 +02:00
ehendrix23
47b40e1e61
Add optional default value to average template function/filter ( #77499 )
...
* Return None on empty list
* Updated to use default value
* Update comment.
2022-10-03 10:07:19 +02:00
ehendrix23
ba6a81c565
Resolve traceback error when using variables in template triggers ( #77287 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-09-29 13:26:28 -04:00
Rami Mosleh
e7764b8bf1
Add ConfigEntry template function ( #78030 )
...
* Add ConfigEntry template function
* Remove looking up entry_id by entry title
2022-09-29 12:41:59 +02:00
Erik Montnemery
c38b1e7727
Improve check of new_entity_id in entity_registry.async_update_entity ( #78276 )
...
* Improve check of new_entity_id in entity_registry.async_update_entity
* Fix race in rfxtrx config flow
* Make sure Event is created on time
* Rename poorly named variable
* Fix typing
* Correct typing of _handle_state_change
2022-09-28 08:43:58 +02:00
Erik Montnemery
53263ea9bc
Revert "Add serial_number to device registry entries" ( #79139 )
2022-09-27 16:36:38 +02:00
Erik Montnemery
cba3b6ad94
Add serial_number to device registry entries ( #77713 )
2022-09-27 09:08:54 +02:00
Joakim Sørensen
8dbe293ae2
Add version to templates ( #78484 )
2022-09-15 15:01:40 +02:00
Erik Montnemery
84a812ad05
Allow setting number selector step size to 'any' ( #78265 )
...
* Allow setting number selector step size to 'any'
* Improve test coverage
2022-09-15 08:29:46 +02:00
Erik Montnemery
4e32bf2ac9
Drop old migration code from entity registry ( #78278 )
2022-09-12 22:28:05 -04:00
Erik Montnemery
e332091d76
Improve unique_id collision checks in entity_platform ( #78132 )
2022-09-09 14:35:23 +02:00
Erik Montnemery
b0d033ef29
Add mixin class CollectionEntity for the collection helper ( #77703 )
...
* Add mixin class CollectionEntity for the collection helper
* Improve typing
* Address review comments
* Fix tests
2022-09-03 12:56:49 +02:00
Erik Montnemery
51c5f1d16a
Remove useless device_registry test ( #77714 )
2022-09-02 20:44:42 +00:00
Erik Montnemery
1bc8770b51
Remove area_id from entity_registry.async_get_or_create ( #77700 )
...
* Remove area_id from entity_registry.async_get_or_create
* Adjust tests
* Fix lying comment in test
2022-09-02 13:31:05 +02:00
Erik Montnemery
8924725d69
Improve some device registry tests ( #77659 )
2022-09-02 08:54:02 +02:00
Erik Montnemery
cd2045b66d
Clean up user overridden device class in entity registry ( #77662 )
2022-09-01 11:45:19 -04:00
Erik Montnemery
4655ed995e
Fix resetting of attributes in EntityRegistry.async_get_or_create ( #77516 )
...
* Fix resetting of attributes in EntityRegistry.async_get_or_create
* Fix typing
* Fix resetting config entry
* Improve test
* Update tests
2022-08-30 21:07:50 +02:00
Franck Nijhof
dfc3e7d80f
Don't expose attribute option in state selector ( #77347 )
2022-08-26 11:51:36 +02:00
Erik Montnemery
dfed3ba75e
Move issue_registry to homeassistant.helpers ( #77299 )
...
* Move issue_registry to homeassistant.helpers
* Add backwards compatibility
2022-08-25 11:32:06 +02:00
Franck Nijhof
dc17bca00c
Add config entry selector ( #77108 )
2022-08-24 00:29:30 +02:00
Franck Nijhof
9843753f30
Add alias support to all triggers ( #77184 )
2022-08-22 17:43:09 -04:00
Franck Nijhof
5a0e4fa5ee
Add hide attribute support to attribute selector ( #77072 )
...
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-08-22 12:55:30 +02:00
Franck Nijhof
453307e01a
Add attribute support to state selector ( #77071 )
2022-08-20 13:30:38 -04:00
Franck Nijhof
2d197fd59e
Add state selector ( #77024 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-08-19 09:24:53 -04:00
Paulus Schoutsen
6e92931087
Add file selector and file upload integration ( #76672 )
2022-08-18 12:02:12 -04:00
Franck Nijhof
e65018fb85
Clean up deprecated connection class remainders ( #75421 )
2022-07-18 21:14:41 -07:00
Franck Nijhof
7adb0f0ef5
Custom component -> Custom integration ( #75404 )
2022-07-18 22:10:22 +02:00
J. Nick Koston
9a27f1437d
Use default encoder when saving storage ( #75319 )
2022-07-17 14:25:19 +02:00
J. Nick Koston
61cc9f5288
Consolidate executor jobs when loading integration manifests ( #75176 )
2022-07-14 13:06:08 -07:00
Erik Montnemery
2e228b2608
Tweak handling of entities with `has_entity_name` set ( #74948 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-11 15:10:53 -07:00
J. Nick Koston
da027fa390
JSON serialize NamedTuple subclasses with aiohttp ( #74971 )
2022-07-11 14:46:55 -07:00
Allen Porter
f4e61eff18
Add update coordinator for google calendar ( #74690 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-07-10 21:24:52 -07:00
J. Nick Koston
a697672944
Add bluetooth integration ( #74653 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-07-08 18:55:31 -05:00
Franck Nijhof
7cd68381f1
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74642 )
2022-07-07 19:57:36 +03:00
J. Nick Koston
e2fe1a1c5d
Allow tuple subclasses to be json serialized ( #74207 )
2022-06-29 19:14:56 -05:00
J. Nick Koston
a8349a4866
Adjust entity filters to make includes stronger than excludes ( #74080 )
...
* Adjust entity filters to make includes stronger than excludes
Fixes #59080
* adjust test for stronger entity glob includes
* sync with docs
2022-06-28 11:42:51 -05:00
Erik Montnemery
26a85c6644
Add Entity.has_entity_name attribute ( #73217 )
2022-06-28 09:38:05 -07:00
J. Nick Koston
2225d0e899
Enable serialization of float subclasses with orjson ( #74136 )
2022-06-28 17:07:40 +02:00
[pʲɵs]
0e9164b082
Add bool template filter and function ( #74068 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-06-28 16:22:09 +02:00
J. Nick Koston
949922ef2c
Fix exception when as_dict is called on a TemplateState ( #73984 )
2022-06-25 09:19:11 -07:00
J. Nick Koston
32e0d9f47c
Speed up generation of template states ( #73728 )
...
* Speed up generation of template states
* tweak
* cache
* cache hash
* weaken
* Revert "weaken"
This reverts commit 4856f50080
.
* lower cache size as it tends to be the same ones over and over
* lower cache size as it tends to be the same ones over and over
* lower cache size as it tends to be the same ones over and over
* cover
* Update homeassistant/helpers/template.py
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
* id reuse is possible
* account for iterting all sensors
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-06-24 17:28:26 -04:00
J. Nick Koston
edb386c736
Switch frontend to use json helper ( #73874 )
2022-06-23 20:19:13 +02:00
Franck Nijhof
a8a033681f
Automatically onboard DiscoveryFlows ( #73841 )
2022-06-22 22:37:49 +02:00
Erik Montnemery
4435c641de
Enforce RegistryEntryHider in entity registry ( #73219 )
2022-06-08 12:36:43 -07:00
Erik Montnemery
921245a490
Remove deprecated temperature conversion of non sensors ( #73222 )
2022-06-08 20:47:47 +02:00
J. Nick Koston
bc22e79c7b
Add a test for a complex entity filter ( #73005 )
2022-06-04 18:43:23 -07:00
Raphaël Beamonte
88129dbe91
Allow `log` template function to return specified `default` on math domain error ( #72960 )
...
Fix regression for logarithm template
2022-06-03 15:27:10 +02:00