epenet
7f1e1ed1d8
Enforce LightEntityFeature ( #82460 )
2022-11-22 07:14:47 +01:00
epenet
cec81e137c
Enforce AlarmControlPanelEntityFeature ( #82313 )
2022-11-21 22:58:36 +01:00
epenet
dd7bc7971f
Adjust type hints for LightEntityFeature ( #82251 )
2022-11-17 12:46:42 +01:00
epenet
1b80c66195
Adjust type hints for FanEntityFeature ( #82241 )
...
* Adjust type hints for FanEntityFeature
* Adjust template default
2022-11-17 10:30:39 +01:00
epenet
17573196c8
Adjust type hints for CoverEntityFeature ( #82238 )
2022-11-17 08:39:44 +01:00
Petro31
f3007b22c4
Allow setting set_percentage and set_preset_mode of template fan without turning on ( #75656 )
...
* decouple set_percentage and set_preset_mode from entity state
* correct set_percent self._state logic
* Add tests
* remove _VALUD_STATES
* decouple percent and preset_mode
2022-10-03 20:22:05 +02:00
epenet
dd7a06b9dc
Use unit_conversion in components ( #78991 )
2022-09-23 17:33:32 +02:00
epenet
7871a517a8
Import constants from root ( #78271 )
2022-09-12 18:53:05 +02:00
epenet
ac3534cba1
Import number constants from root ( #78248 )
2022-09-12 18:14:49 +02:00
epenet
253d355526
Remove unused mypy ignore statements ( #78292 )
2022-09-12 09:25:11 -04:00
Erik Montnemery
c134bcc536
Remove use of deprecated SUPPORT_* constants from Template light ( #77836 )
2022-09-08 11:22:38 +02:00
epenet
fea0ec4d4d
Improve type hints in vacuum entities ( #76561 )
2022-08-20 08:33:27 +02:00
Erik Montnemery
426a620084
Remove deprecated white_value support from template light ( #76923 )
2022-08-17 07:53:56 -04:00
Marc Mueller
453cbc3e14
Use TriggerActionType [core, t-z] ( #76808 )
2022-08-15 18:15:20 +02:00
Marc Mueller
cf7c716bda
Fix implicit Optional [core] ( #76719 )
2022-08-13 18:46:08 +02:00
epenet
5287980f48
Remove template from mypy ignore list ( #74426 )
2022-07-14 21:15:37 +02:00
Kostas Chatzikokolakis
3f53ed5d5c
Add trigger/arm_custom_bypass to Template Alarm Control Panel ( #74629 )
2022-07-07 20:31:03 +02:00
epenet
9211ba8371
Improve type hints in template ( #74294 )
2022-07-01 10:05:37 -07:00
mbo18
24d2d62121
Add vacation mode to Template Alarm Control Panel ( #74261 )
2022-06-30 12:22:03 -07:00
Erik Montnemery
146ff83a16
Migrate rest binary_sensor and switch to TemplateEntity ( #73307 )
2022-06-28 13:53:38 -07:00
G Johansson
4b5c0be896
Native to Weather Template ( #74060 )
...
* Native to Weather template
* Add validation
2022-06-28 13:42:58 +02:00
epenet
dac8f242e0
Improve type hints in mqtt and template alarms ( #74101 )
2022-06-28 13:41:23 +02:00
epenet
8e1ec07f3d
Adjust type hints in component alarm methods ( #74092 )
...
* Adjust type hints in component alarm methods
* Undo related change
* Undo related change
2022-06-28 10:00:23 +02:00
akloeckner
aa314a0901
Add this variable to trigger-based templates ( #72437 )
...
add this variables to trigger-based templates
follow-up for https://github.com/home-assistant/core/issues/70359
2022-06-27 08:59:29 +02:00
epenet
10dc38e0ec
Adjust CoverEntity property type hints in components ( #73943 )
...
* Adjust CoverEntity property type hints in components
* Revert changes to rflink
* Revert changes to wilight
2022-06-25 11:59:56 +02:00
epenet
a92ab7a669
Adjust CoverEntity function type hints in components ( #73912 )
...
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
epenet
3c82c718cb
Improve typing in fans and locks ( #73901 )
2022-06-23 16:34:40 +02:00
epenet
6b6e5fad3c
Add missing type hints in fans ( #73835 )
2022-06-22 18:43:41 +02:00
Erik Montnemery
7a82794ad7
Migrate template NumberEntity to native_value ( #73537 )
2022-06-15 17:06:44 +02:00
epenet
f8f1bfde21
Add lock typing in components ( #73539 )
...
* Add lock typing in components
* Revert freedompro amends
2022-06-15 15:23:36 +02:00
Erik Montnemery
5987266e56
Refactor template entity to allow reuse ( #72753 )
...
* Refactor template entity to allow reuse
* Fix schema and default name
* Add tests
* Update requirements
* Improve test
* Tweak TemplateSensor initializer
* Drop attributes and availability from TemplateEntity
* Use rest sensor for proof of concept
* Revert changes in SNMP sensor
* Don't set _attr_should_poll in mixin class
* Update requirements
2022-06-08 15:55:49 +02:00
Erik Montnemery
b89cd37de8
Remove dead code from template fan ( #72917 )
2022-06-02 08:19:15 -07:00
epenet
5cfb31d28a
Adjust device_automation type hints in core components ( #72207 )
2022-05-23 16:07:34 +02:00
Franck Nijhof
c0da97b038
Clean up accessing service helpers via hass ( #72013 )
2022-05-17 10:56:57 -07:00
Erik Montnemery
83080dbba8
Support this variable in template cover actions ( #71793 )
2022-05-13 09:34:00 -07:00
Erik Montnemery
a17fa6d6d5
Support this variable in template fan actions ( #71795 )
2022-05-13 09:33:44 -07:00
Erik Montnemery
8b412acc98
Support this variable in template lock actions ( #71796 )
2022-05-13 09:33:25 -07:00
Erik Montnemery
66ec4564f4
Support this variable in template number actions ( #71797 )
2022-05-13 09:33:00 -07:00
Erik Montnemery
adde9130a1
Support this variable in template select actions ( #71798 )
2022-05-13 09:32:45 -07:00
Erik Montnemery
6f7a465347
Support this variable in template vacuum actions ( #71800 )
2022-05-13 09:32:19 -07:00
Erik Montnemery
9eca91afc9
Support this variable in template light actions ( #71805 )
2022-05-13 09:31:37 -07:00
Erik Montnemery
042321be60
Support this variable in template button actions ( #71792 )
2022-05-13 17:28:36 +02:00
Erik Montnemery
184421dae6
Support this variable in template switch actions ( #71799 )
2022-05-13 16:44:27 +02:00
Erik Montnemery
dba2f5ab1c
Support this variable in template alarm actions ( #71744 )
2022-05-13 12:17:40 +02:00
Erik Montnemery
fb6cdb5a38
Optimistically set hs_color in template light ( #71629 )
...
* Optimistically set hs_color in template light
* Update light.py
* Update test
2022-05-11 09:57:54 +02:00
Marc Mueller
6eef3c16f2
Update pylint to 2.13.8 ( #71280 )
2022-05-04 12:14:24 +02:00
Erik Montnemery
eba125b093
Ensure 'this' variable is always defined for template entities ( #70911 )
2022-05-03 07:43:44 -07:00
Shay Levy
75debb7dec
Add entity id to template error logging ( #71107 )
...
* Add entity id to template error logging
* Increase coverage
2022-04-30 19:24:24 +03:00
epenet
e63aef79fe
Use LightEntityFeature enum in template ( #71056 )
2022-04-29 22:43:33 +03:00
Erik Montnemery
2fb16fd06c
Deprecate white_value support in template light ( #71044 )
2022-04-29 22:40:23 +03:00