Erik Montnemery
b13e4e9953
Small tweak of TriggerEntity typing ( #59875 )
2021-11-18 14:34:07 +01:00
Erik Montnemery
acf58111c6
Correct initial update of async_track_template_result ( #59705 )
2021-11-15 13:00:46 +01:00
Erik Montnemery
5f8997471d
Minor refactor of template sensor ( #59466 )
2021-11-10 22:34:49 -08:00
Erik Montnemery
e20127d9ff
Minor refactor of template binary sensor ( #59432 )
...
* Minor refactor of template binary sensor
* pylint
* Tweak
2021-11-10 07:58:22 +01:00
Erik Montnemery
3d909b00d5
Remove unneeded dynamic lookup of domain ( #59423 )
2021-11-09 07:41:45 -08:00
Marc Mueller
a48ddcadd4
Use assignment expressions 31 ( #58715 )
2021-10-30 16:29:07 +02:00
Erik Montnemery
bed4096430
Allow specifying a super template for async_track_template_result ( #58477 )
2021-10-27 16:07:17 +02:00
Erik Montnemery
c1d671b817
Fix template sensor when name template doesn't render ( #58088 )
2021-10-20 14:53:06 -07:00
Jan Bouwhuis
62b7453719
Fix supported_features behaviour for fan platform ( #58065 )
2021-10-20 13:06:06 +02:00
Jeff Irion
9dfb684002
Enable template icons for template selects ( #57092 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-10-07 15:38:02 +02:00
Jeff Irion
15a8f6741b
Enable template icons for template numbers ( #56154 )
2021-10-01 09:35:44 -07:00
avee87
daebc34f4d
Add code_format to template alarm ( #56700 )
...
* Added code_format to template alarm
* review comment
* review comment
* use constant
* back to enum
* none -> no_code
2021-09-29 16:59:46 +02:00
Marc Mueller
d51487f82a
Import Callable from collections.abc (3) ( #56777 )
2021-09-29 16:19:06 +02:00
Raman Gupta
37d75e8a03
Allow multiple template.select platform entries ( #55908 )
2021-09-07 14:50:07 -07:00
Ville Skyttä
b10fc89a6b
Automation trigger info type hint improvements ( #55402 )
...
* Make automation trigger info a TypedDict
* zwave_js trigger type hint fixes
* Remove redundant automation trigger info field presence checks
* Use async_initialize_triggers in mqtt and tasmota device_trigger tests
2021-09-04 02:25:51 +02:00
Paulus Schoutsen
0c2772e0be
Fix template sensor availability ( #55635 )
2021-09-03 09:02:45 +02:00
Matthias Alphart
cd0ae66d58
Add CONF_STATE_CLASS to `sensor/__init__.py` ( #54106 )
...
* add CONF_STATE_CLASS to const.py
* move to `sensor/__init__.py`
* move to sensor/const.py
* Revert "move to sensor/const.py"
This reverts commit 604d0d066b
.
* move it to `sensor/const.py` but import it from `sensor/__init__.py`
* add Modbus
2021-08-27 05:54:50 +02:00
Raman Gupta
e9625e4b7a
Add number platform to template integration ( #54789 )
2021-08-25 11:34:20 -07:00
Raman Gupta
8407ad01d4
Add select platform to template integration ( #54835 )
2021-08-25 11:21:24 -07:00
Erik Montnemery
94a264afaf
Move temperature conversions to entity base class (7/8) ( #54482 )
2021-08-11 18:57:50 +02:00
Paulus Schoutsen
8377b557da
Packages to support config platforms ( #54085 )
2021-08-05 13:11:01 -07:00
Marc Mueller
0815eede4b
Replace lists with tuples (2) ( #53685 )
2021-07-30 01:20:03 +02:00
Franck Nijhof
ee452d415d
Add SensorEntityDescription class ( #53357 )
2021-07-26 22:00:43 +02:00
J. Nick Koston
84c482441d
Use None instead of STATE_UNKNOWN in template lock ( #53286 )
2021-07-21 14:29:41 -07:00
J. Nick Koston
ee242764a1
Update template lock to support locking, unlocking, jammed ( #52817 )
2021-07-20 21:50:21 -07:00
Erik Montnemery
3d7fd83ad4
Add home-assistant/core as codeowner for the template integration ( #52592 )
2021-07-06 17:35:11 +02:00
Erik Montnemery
2097ab76f5
Allow combining value_template and position_template for template cover ( #52383 )
2021-07-01 14:09:48 +02:00
Paulus Schoutsen
cc00617cd5
Allow defining state class for template sensors ( #52130 )
2021-06-23 14:37:04 -07:00
Erik Montnemery
4c9f12b9c5
Correct trace path for trigger with custom id ( #51847 )
2021-06-14 17:09:20 +02:00
Erik Montnemery
49bec86dae
Add base schema for triggers ( #51727 )
...
* Add base schema for triggers
* Tweak
* Make TRIGGER_BASE_SCHEMA a voluptuous schema
* Make state trigger BASE_SCHEMA a voluptuous schema
2021-06-11 09:51:12 +02:00
jacekpaszkowski
85495c08b0
Add support for effects, transition/brightness parameters to template light, min_mireds and max_mireds templates ( #43850 )
...
* Add support for effects, transition/brightness parameters to template light, min_mireds and max_mireds templates
* code fixes
* min_mireds, max_mireds fixes
* test fixes
* more fixes
* format fix
* style fix
* _update_effect_list change
* style fix
* Fixes after review
* additional fixes
* duplicated lines removed
* fixes after CI run
* test fixes
* code and test fixes
* supports transition change, added test cases
2021-05-24 13:31:57 +02:00
Michael
dbefa8fac0
Add strict type annotations to alarm_control_panel ( #50945 )
...
* Add strict type annotations
* Apply suggestions
* Type code as optional string
2021-05-23 16:51:40 +01:00
Michael
9eecd90afc
Add constructor return type in integrations T-Z ( #50899 )
2021-05-20 17:00:19 +02:00
tkdrob
d37a3cded0
Add targets and selectors for services (S-T) ( #50629 )
2021-05-14 22:30:41 -07:00
Paulus Schoutsen
f5e4b13814
Add auto_off to binary sensor template entity ( #49615 )
2021-04-29 09:25:34 -07:00
Paulus Schoutsen
dcee78b747
Template sensor/binary sensors without trigger now respect section unique id ( #49613 )
2021-04-24 07:14:31 -07:00
Paulus Schoutsen
1016d4ea28
Support trigger-based template binary sensors ( #49504 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-04-22 14:54:28 -07:00
Paulus Schoutsen
a90d3a051f
prefer total_seconds over seconds ( #49505 )
2021-04-20 17:41:36 -07:00
Franck Nijhof
055cdc64c0
Add support for IoT class in manifest ( #46935 )
2021-04-15 10:21:38 +02:00
Paulus Schoutsen
beea2dd35f
Internally work with modern config syntax for template binary sensor platform config ( #48981 )
2021-04-13 07:58:44 -07:00
Paulus Schoutsen
65126cec3e
Allow top level non-trigger template entities ( #48976 )
2021-04-12 17:15:50 -07:00
Paulus Schoutsen
2d5edeb1ef
Set hass when adding template attribute ( #49094 )
2021-04-11 22:49:09 -07:00
Adrien Brault
676af205e4
Fix light template invalid color temp message ( #48337 )
2021-04-10 17:22:15 +02:00
Paulus Schoutsen
6d5c34f2dc
Fix config forwarding ( #48967 )
2021-04-10 01:12:40 +02:00
Brandon Rothweiler
52e8c7166b
Allow template covers to have opening and closing states ( #47925 )
2021-04-09 11:36:02 +02:00
Paulus Schoutsen
09635678bc
Allow reloading top-level template entities ( #48733 )
2021-04-06 12:10:39 -07:00
Paulus Schoutsen
e882460933
Support modern config for the trigger based template entity ( #48635 )
2021-04-02 16:57:16 -07:00
Paulus Schoutsen
212d9aa748
Fix trigger template entities without a unique ID ( #48631 )
2021-04-02 10:24:38 -07:00
Erik Montnemery
b26779a27a
Add id to automation triggers ( #48464 )
2021-03-31 14:56:04 +02:00
Paulus Schoutsen
022f56f54d
Allow specifying template entities based on triggers ( #48169 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-29 09:57:51 -07:00