Raman Gupta
3ca69f5568
Raise an exception when event_type exceeds the max length ( #48115 )
...
* raise an exception when event_type exceeds the max length that the recorder supports
* add test
* use max length constant in recorder
* update config entry reloaded service name
* remove exception string function because it's not needed
* increase limit to 64 and revert event name change
* fix test
* assert exception args
* fix test
* add comment about migration
2021-04-08 20:46:28 +02:00
Franck Nijhof
b58d6a6293
Bump version to 2021.5.0dev0 ( #48559 )
2021-03-31 23:16:50 +02:00
Philip Allgaier
450f3740cd
Use consolidated constant for "description" ( #48490 )
2021-03-31 14:12:15 +02:00
Alexei Chetroi
79b5ca9415
Add device classes for CO and CO2 measurements ( #47487 )
2021-03-07 00:52:43 +01:00
Erik Montnemery
504e5b77ca
Improve behaviour when disabling or enabling config entries ( #47301 )
2021-03-03 10:12:37 -08:00
Paulus Schoutsen
557ec374f1
Convert discovery helper to use dispatcher ( #47008 )
2021-02-24 13:37:31 -08:00
Franck Nijhof
5ab11df551
Bump version to 2021.4.0dev0 ( #47017 )
2021-02-24 22:28:02 +01:00
Erik Montnemery
5e26bda52d
Add support for disabling config entries ( #46779 )
2021-02-20 19:21:39 -08:00
Franck Nijhof
0338f5bccf
Bump version to 2021.3.0dev0 ( #45617 )
2021-01-27 21:12:38 +01:00
Franck Nijhof
2f486543df
Drop Python 3.7 support ( #43805 )
2021-01-01 13:47:01 +01:00
Franck Nijhof
4b057101c5
Bumped version to 2021.2.0dev0 ( #44647 )
2020-12-30 13:27:12 +01:00
Paulus Schoutsen
735607c625
Bump version to 2021.1 ( #44298 )
2020-12-16 23:59:45 +01:00
Paulus Schoutsen
dd513147a5
Add a service target ( #43725 )
2020-11-28 23:33:32 +01:00
Franck Nijhof
c157fbef1e
Bump version to 0.119.0dev0 ( #43485 )
2020-11-23 22:06:59 +01:00
Paulus Schoutsen
bae026a6fe
Add support for selectors in services.yaml ( #43162 )
...
* Add support for selectors in services.yaml
* Add base schema validation
2020-11-13 22:53:55 +01:00
Moritz Schmitz von Hülst
434d39a5ea
Add initial rest query params ( #42198 )
...
* add initial rest query params
* of course I didn't run black
* fix tests
* fix tests
* add test
* reformat
* add binary sensor test
* fix tests
* add one more test and fix switch
* should not have touched that
* if you don't pay attention once
2020-11-11 09:03:55 -10:00
Paulus Schoutsen
3af1771616
Include device_id in ZHA event ( #43037 )
2020-11-10 12:43:15 +01:00
springstan
30b94892c4
Use strings instead of f-strings for constants ( #40619 )
2020-11-09 10:09:53 +01:00
Anders Melchiorsen
650c57db5b
Fix async_track_utc_time_change firing too early ( #42176 )
2020-11-05 16:34:56 +01:00
Franck Nijhof
43aaf91799
Bump version to 0.118.0dev0 ( #42178 )
2020-10-21 22:06:18 +02:00
J. Nick Koston
df2ede6522
Fix state overwrite race condition where two platforms request the same entity_id ( #42151 )
...
* Fix state overwrite race condition where two platforms request the same entity id
* fix test
* create reservations instead
* revert
* cannot use __slots__ because we patch async_all
2020-10-21 17:01:51 +02:00
Anders Melchiorsen
d00655810f
Add media_player.repeat_set service ( #41435 )
2020-10-12 23:29:28 +02:00
Paulus Schoutsen
8d94dff75c
Warn when using Python 3.7 ( #41400 )
2020-10-07 16:44:13 +02:00
Chris Talkington
21655e93bf
Add CONF_API_TOKEN to constants ( #41379 )
...
* add CONF_API_TOKEN to constants
* Update const.py
2020-10-07 10:55:59 +02:00
Franck Nijhof
ee914366a8
Add native Python types support to templates ( #41227 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-10-07 00:05:52 +02:00
Franck Nijhof
4ca552e90a
Bump version to 0.117.0dev0 ( #40928 )
2020-10-04 13:26:31 +02:00
J. Nick Koston
b45215f1d2
Implement template rate_limit directive ( #40667 )
2020-10-01 21:39:44 +02:00
Simone Chemelli
7554c8d6c5
Add missing unit for signal strength ( #40436 )
...
* Added missing unit for signal strength
* Added one more unit
* Replaced string with variable
* Fixed wrong import
* Fix import
* Replaced string with variable
* Fixed wrong import
* Apply suggestions from code review
* Black
* Again a fix :-(
* iSort
* iSort after merge
Co-authored-by: springstan <46536646+springstan@users.noreply.github.com>
2020-10-01 16:14:29 +02:00
Bram Kragten
c6f3352cf8
Use custom app to play camera stream using Google Assistant ( #40750 )
2020-09-30 10:33:56 +02:00
RichieFrame
ceded35a82
Remove degree from Kelvin unit ( #40574 )
...
Kelvin temperature unit does not use the degree symbol
2020-09-28 16:03:21 +02:00
springstan
6c8e0e20fb
Add and use light lux constant in entire code base ( #40171 )
2020-09-23 20:48:01 +02:00
springstan
06a133c3e9
Add and use length millimeters constant ( #40116 )
...
* Add and use length millimeters constant
* Fix pylint error
* Fix broken accuweather sensor test
2020-09-22 21:09:17 -05:00
springstan
b088830382
Add and use currency cent constant ( #40261 )
2020-09-19 10:34:54 -05:00
Franck Nijhof
ff0562ad1e
Add media dirs core configuration ( #40071 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-09-16 15:28:25 +02:00
springstan
000d2047fb
Add and use currency constants ( #40113 )
2020-09-15 15:01:01 -06:00
springstan
5a12056e59
Add and use volume cubic constants ( #40106 )
2020-09-15 19:59:26 +02: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
aa9dff572e
Add default variables to script helper ( #39895 )
2020-09-10 20:41:42 +02:00
Franck Nijhof
f075823529
Bump version to 0.116.0dev0 ( #39768 )
2020-09-08 16:39:48 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
Phil Bruckner
76ead858cf
Add wait_for_trigger script action ( #38075 )
...
* Add wait_for_trigger script action
* Add tests
* Change script integration to use config validator
2020-08-21 11:38:25 +02:00
Franck Nijhof
bdc5af8dd2
Add support for attributes in (numeric) state conditions ( #39050 )
2020-08-19 20:01:27 +02:00
fabiocastagnino
02d572aae5
Add device classes for electrical measurement ( #36800 )
...
* added device classes for electrical measurement
(cherry picked from commit 2409fe19ed43bef568a0cca826652867d3a2d71a)
* upadte power factor unit (%)
* update power factor unit (%)
2020-08-08 21:04:18 +02:00
Franck Nijhof
fa956e3153
Bump version to 0.115.0dev0 ( #38606 )
2020-08-07 11:41:26 +02:00
Michaël Arnauts
f09a9abc1c
Add optional unique_id attribute to the template platforms ( #38011 )
...
* Add unique_id to template platforms
* Update test_binary_sensor.py
* Update test_binary_sensor.py
2020-08-01 12:45:55 -10:00
Franck Nijhof
d7fdbbc2a5
Bump version to 0.114.0dev0 ( #38071 )
2020-07-22 20:17:11 +02:00
Phil Bruckner
7e280e2b27
Add choose script action ( #37818 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2020-07-14 10:22:54 -07:00
Paulus Schoutsen
8ed1a29c82
Drop white blacklist pt1 ( #37816 )
2020-07-13 17:43:11 +02:00
Phil Bruckner
63e55bff52
Remove legacy script mode and simplify remaining modes ( #37729 )
2020-07-10 17:00:57 -07:00
Phil Bruckner
91271f388c
Add new repeat loop for scripts and automations ( #37589 )
2020-07-10 13:37:19 -05:00