epenet
|
9971831b51
|
Improve typing in core service registration (#63005)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-12-30 21:18:10 +01:00 |
Tobias Sauerwein
|
2c904c0974
|
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
2021-12-27 17:55:17 +01:00 |
Ruslan Sayfutdinov
|
55f4962c06
|
Fix pylint plugin which checks relative imports (#62693)
|
2021-12-23 11:14:47 -08:00 |
Erik Montnemery
|
cb2c2d98c3
|
Remove unnecessary checks before calling os.makedirs (#62576)
|
2021-12-23 09:59:31 +01:00 |
Franck Nijhof
|
07e034c1c6
|
Add iif (immediate if) template function/filter (#61428)
|
2021-12-21 17:25:07 +01:00 |
Erik Montnemery
|
e48f567176
|
Wrap shorthand template conditions during schema validation (#62485)
|
2021-12-21 17:20:15 +01:00 |
Erik Montnemery
|
e2fca2e305
|
Support shorthand templates in condition actions (#61177)
* Support shorthand templates in condition actions
* Fix validation message
* Fix tests
|
2021-12-21 12:19:31 +01:00 |
Brynley McDonald
|
26dc526234
|
Add slugify as a template filter (#58724)
|
2021-12-21 11:35:54 +01:00 |
Ville Skyttä
|
334c6c5c02
|
Make device automation type an enum (#62354)
|
2021-12-20 19:16:30 +01:00 |
J. Nick Koston
|
a40549c1b9
|
Fix hw_version not updating from an entity device_info (#62254)
|
2021-12-18 21:53:49 -08:00 |
Erik Montnemery
|
112e259437
|
Fix threading error in scripts with repeat or choose actions (#62168)
|
2021-12-17 11:41:54 +01:00 |
J. Nick Koston
|
04153c0075
|
Add hardware version to the device registry (#61650)
|
2021-12-16 05:16:19 -06:00 |
Paulus Schoutsen
|
17cf53677c
|
Rest fixes (#61296)
|
2021-12-08 14:35:50 -08:00 |
Erik Montnemery
|
5256e26b6a
|
Fix incorrect docstring in automation trace code (#61168)
|
2021-12-07 18:05:41 +01:00 |
epenet
|
b8b4855b8e
|
Prevent log flooding in frame helper (#61085)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-12-06 15:26:31 -08:00 |
Franck Nijhof
|
ffb4b4df96
|
Only report deprecated device_state_attributes once (#60980)
|
2021-12-04 13:37:42 +01:00 |
Paulus Schoutsen
|
a59ec9ca5e
|
Handle invalid device registry entry type (#60966)
Co-authored-by: Franck Nijhof <git@frenck.dev>
|
2021-12-04 09:20:12 +01:00 |
epenet
|
b65b25c1bb
|
Move MqttServiceInfo to init.py (#60905)
Co-authored-by: epenet <epenet@users.noreply.github.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
|
2021-12-03 19:34:48 +01:00 |
Franck Nijhof
|
74d1c340d7
|
Allow use of relative_time as a filter (#60923)
|
2021-12-03 19:30:12 +01:00 |
Erik Montnemery
|
17dc609363
|
Correct validation of conditions in scripts and automations (#60890)
* Correct validation of conditions in scripts and automations
* Fix test
|
2021-12-03 09:08:28 -08:00 |
Marvin Wichmann
|
707fe67c00
|
Move StrEnum to homeassistant.backports and move Platform to homeassistant.const (#60880)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
|
2021-12-03 09:31:17 +01:00 |
Jan Bouwhuis
|
3188a364e2
|
Add template filters pack and unpack (#60836)
* add pack and unpack template filters
* Add unpack test with offset
* use unpack_from
* Simplify unpack_from statement
|
2021-12-03 08:58:15 +01:00 |
Erik Montnemery
|
9f4a99fe81
|
Revert "Add bytes support for bitwise template operations" (#60854)
|
2021-12-03 08:50:29 +01:00 |
Erik Montnemery
|
0e3bc21d54
|
Teach state and numeric_state conditions about entity registry ids (#60841)
|
2021-12-02 14:55:12 -08:00 |
Erik Montnemery
|
a07f75c6b0
|
Revert "Allow template int filter to render from a bytes based integer" (#60855)
|
2021-12-02 14:37:19 -08:00 |
Franck Nijhof
|
c8b0a3b667
|
Revert "Move Platform StrEnum to const" (#60875)
|
2021-12-02 14:19:08 -08:00 |
Franck Nijhof
|
6e220d5d17
|
Move Platform StrEnum to const (#60857)
|
2021-12-02 22:30:52 +01:00 |
Franck Nijhof
|
7d3fcfbd30
|
Add Platform StrEnum to entity_platform (#60818)
|
2021-12-02 09:07:09 -08:00 |
Ville Skyttä
|
4107063a5a
|
Make entity registry disabled_by an enum (#60424)
|
2021-12-02 18:02:29 +01:00 |
Erik Montnemery
|
c85bb27d0d
|
Teach state trigger about entity registry ids (#60271)
* Teach state trigger about entity registry ids
* Tweak
* Add tests
* Tweak tests
* Fix tests
* Resolve entity ids during config validation
* Update device_triggers
* Fix mistake
* Tweak trigger validator to ensure we don't modify the original config
* Add index from entry id to entry
* Update scaffold
* Pre-compile UUID regex
* Address review comment
* Tweak mock_registry
* Tweak
* Apply suggestion from code review
|
2021-12-02 14:26:45 +01:00 |
Joakim Plate
|
c54ca7941f
|
Make sure entity inherit disabled device (#60469)
|
2021-12-01 13:59:57 -08:00 |
Franck Nijhof
|
c28b45cd83
|
Migrate entity categories to StrEnum (#60720)
|
2021-12-01 13:54:36 +01:00 |
Jan Bouwhuis
|
f07e676c82
|
Allow template int filter to render from a bytes based integer (#60452)
* Allow template int to render bytes
* re-triggering tests
* Add warning when base !=10 and rendering bytes
* re-trigger tests
* Re-trigger tests
* remove period
* Update homeassistant/helpers/template.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Fix logger syntax
* remove parentheses
Co-authored-by: Erik Montnemery <erik@montnemery.com>
|
2021-11-30 15:01:43 +01:00 |
epenet
|
ec1c52d945
|
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-11-29 06:10:07 -10:00 |
Ville Skyttä
|
e5718ccac4
|
Add removal versions and backcompat constants for device registry enum changes (#60421)
|
2021-11-29 09:47:14 +01:00 |
Erik Montnemery
|
caf5ee2fab
|
Remove optional validation when creating conditions (#60481)
|
2021-11-28 14:54:07 +01:00 |
Erik Montnemery
|
ea102f71a6
|
Correct validation of repeats in scripts and automations (#60318)
* Correct validation of repeats in scripts and automations
* Improve validation test
|
2021-11-26 14:12:59 +01:00 |
Erik Montnemery
|
ad9c3a47cf
|
Correct validation of conditions in scripts and automations (#60403)
|
2021-11-26 13:21:11 +01:00 |
Ville Skyttä
|
9f4de8df18
|
Make device entry disabled by an enum (#60239)
|
2021-11-24 22:32:16 +01:00 |
Erik Montnemery
|
7b57033265
|
Correct today_at template function / filter (#60291)
Co-authored-by: Franck Nijhof <git@frenck.dev>
|
2021-11-24 15:51:43 +01:00 |
Jan Bouwhuis
|
d33457b7bc
|
Add bytes support for bitwise template operations (#60211)
* Add bytes support for bitwise template operations
* spelling
* Update bitwise tests
* remove try block for bytes conversion
* do not accept empty `bytes` object
|
2021-11-24 15:15:27 +01:00 |
Jan Bouwhuis
|
d41d223033
|
Add UNIX timestamp detection to `as_datetime` template filter (#60126)
|
2021-11-24 09:51:56 +01:00 |
Jan Bouwhuis
|
fa0d3a6c48
|
Change output template filters `timestamp_local` and `timestamp_utc` to isoformat (#60269)
|
2021-11-24 09:49:03 +01:00 |
Erik Montnemery
|
c0d2a66609
|
Add stable ID to entity registry entries (#60218)
* Add UUID to entity registry entries
* Fix test
|
2021-11-24 09:01:35 +01:00 |
J. Nick Koston
|
af51aeb6dc
|
Show how user input is malformed in the UI on error (#60057)
|
2021-11-23 22:50:54 +01:00 |
Erik Montnemery
|
24779dea3b
|
Bump device registry version to 1.2 (#60199)
|
2021-11-23 22:22:15 +01:00 |
Ville Skyttä
|
7c6a72b086
|
Remove unneeded pylint disables (#60235)
|
2021-11-23 21:40:53 +01:00 |
epenet
|
560546f65e
|
Use dataclass for DhcpServiceInfo (#60136)
Co-authored-by: epenet <epenet@users.noreply.github.com>
|
2021-11-23 13:35:53 +01:00 |
Erik Montnemery
|
ca20fc857f
|
Remove via_device links when a device is removed (#60153)
* Remove via_device links when a device is removed
* Update test
|
2021-11-23 09:36:03 +01:00 |
Erik Montnemery
|
f510534c58
|
Bump entity registry version to 1.3 (#60164)
|
2021-11-22 13:38:51 -06:00 |