Petro31
e2bc73f153
Fix optimistic covers ( #149962 )
2025-08-04 13:35:13 +02:00
Petro31
04fb86b4ba
Fix unique_id in config validation for legacy weather platform ( #149742 )
2025-07-31 15:19:37 +02:00
Petro31
6306baa3c9
Add config flow to template lock platform ( #149449 )
2025-07-30 17:04:39 +02:00
Petro31
d481a694f1
Add config flow to template vacuum platform ( #149458 )
2025-07-30 17:04:08 +02:00
Petro31
160b61e0b9
Add config flow to template fan platform ( #149446 )
...
Co-authored-by: Artur Pragacz <49985303+arturpragacz@users.noreply.github.com>
2025-07-30 16:17:49 +02:00
Petro31
a21af78aa1
Add config flow to template light platform ( #149448 )
2025-07-30 15:27:43 +02:00
Petro31
6c2a662838
Add config flow to template cover platform ( #149433 )
2025-07-30 14:48:24 +02:00
Petro31
9d66b19c03
Add assumed optimistic to template number entities ( #148499 )
2025-07-30 11:20:04 +02:00
Petro31
8339516fb4
Add optimistic option to alarm control panel yaml ( #149334 )
2025-07-28 17:44:43 +02:00
Petro31
d823b574c0
Add optimistic option to light yaml ( #149395 )
2025-07-28 16:59:57 +02:00
Petro31
49bd15718c
Add optimistic option to fan yaml ( #149390 )
2025-07-28 16:58:46 +02:00
Petro31
b3862591ea
Add optimism to vacuum platform ( #149425 )
2025-07-28 16:18:37 +02:00
Petro31
1895db0ddd
Add optimistic option to switch yaml ( #149402 )
2025-07-28 16:17:39 +02:00
Petro31
ee2cf961f6
Add assumed optimistic functionality to lock platform ( #149397 )
2025-07-28 16:17:09 +02:00
Petro31
b85ec55abb
Add availability template to template helper config flow ( #147623 )
...
Co-authored-by: Norbert Rittel <norbert@rittel.de>
Co-authored-by: Joostlek <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-07-21 17:41:56 +02:00
Elmo-S
8c964e64db
Add support for UV index attribute in template weather entity ( #149015 )
2025-07-21 11:39:46 +01:00
Petro31
3c87a3e892
Add a preview to template config flow for alarm control panel, image, and select platforms ( #148441 )
2025-07-17 22:19:45 +01:00
Erik Montnemery
381bd489d8
Do not add template config entry to source device ( #148756 )
2025-07-15 22:13:03 +02:00
Petro31
35097602d7
Remove unnecessary hass if check in AbstractTemplateEntity ( #148828 )
2025-07-15 17:04:31 +02:00
Petro31
c058561162
Add initalize for abstract template entities ( #147504 )
2025-07-15 15:53:01 +02:00
Petro31
816977dd75
Refactor async_setup_platform for template platforms ( #147379 )
2025-07-15 08:26:34 +02:00
Petro31
8421ca7802
Add assumed optimistic state to template select ( #148513 )
2025-07-14 19:28:27 +01:00
Petro31
3045f67ae5
Modernize binary sensor template tests ( #148367 )
2025-07-09 17:49:28 +02:00
Petro31
a35299d94c
Add preview tests for number and sensor ( #148426 )
2025-07-08 16:04:06 +01:00
Petro31
adec157d43
Allow trigger based numeric sensors to be set to unknown ( #137047 )
...
* Allow trigger based numeric sensors to be set to unknown
* resolve comments
* Do case insensitive check
* use _parse_result
---------
Co-authored-by: abmantis <amfcalt@gmail.com>
2025-07-02 15:35:47 +02:00
nadimz
392cde20d9
Add support for opening state in template lock ( #147813 )
...
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
2025-07-01 22:03:20 +01:00
epenet
c17ee0d123
Allow binary sensor template to return state unknown ( #128861 )
...
* Allow binary sensor template to return state unknown
* Add tests
* Adjust TriggerBinarySensorEntity
* Add restore tests for BinarySensorTemplate
* Add tests for TriggerBinarySensorEntity
* Tweak
* Tweak
* Adjust tests
* Adjust
2025-06-30 10:06:05 +02:00
epenet
b8500b338a
Improve tests for binary sensor template ( #147657 )
2025-06-27 18:58:16 +02:00
Petro31
b4fe6f3843
Add trigger based fan entities to template integration ( #145497 )
...
* Add trigger based fan entities to template integration
* more changes
* add tests
* update doc strings
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-06-23 21:20:55 +02:00
Petro31
7eaa60b17c
Add trigger vacuum entities to template integration ( #145534 )
...
* Add trigger vacuum entities to template integration
* remove comment
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-06-23 18:10:44 +02:00
Petro31
8e6edf5e34
Add trigger based locks to template integration ( #145528 )
...
* Add trigger based locks to template integration
* fix comments
2025-06-23 16:11:15 +02:00
Petro31
c1e32aa9b7
Add trigger template alarm control panels ( #145461 )
...
* Add trigger template alarm control panels
* updates
* fix jumbled imports
* fix comments
2025-06-23 16:10:50 +02:00
Petro31
bcb87cf812
Support variables, icon, and picture for all compatible template platforms ( #145893 )
...
* Fix template entity variables in blueprints
* add picture and icon tests
* add variable test for all platforms
* apply comments
* Update all test names
2025-06-18 16:49:46 +02:00
Petro31
3e0aab55a8
Fix `delay_on` and `delay_off` restarting when a new trigger occurs during the delay ( #145050 )
2025-06-11 14:08:10 +01:00
Petro31
37d904dfdc
Add color_temp_kelvin to set_temperature action variables ( #146448 )
2025-06-11 11:58:07 +02:00
Petro31
5048d1512c
Add trigger based template cover ( #145455 )
...
* Add trigger based template cover
* address comments
* update position template in test
2025-05-23 16:32:21 +02:00
Petro31
752c73a2ed
Add trigger_variables to template trigger 'for' field ( #136672 )
...
* Add trigger_variables to template trigger for
* address comments
2025-05-19 17:26:42 +02:00
Petro31
3bf9908789
Add template vacuum modern style ( #144843 )
...
* Add template vacuum modern style
* address comments and add tests for coverage
* address comments
* update vacuum and sort domains
2025-05-15 15:46:00 +02:00
Petro31
66ecc4d69d
Add modern configuration for template alarm control panel ( #144834 )
...
* Add modern configuration for template alarm control panel
* address comments and add tests for coverage
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-05-15 11:46:57 +02:00
Petro31
ea046f32be
Add modern style template lock ( #144756 )
...
* Add modern style lock
* add tests
* Add tests and address comments
* Update homeassistant/components/template/lock.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-05-15 10:43:56 +02:00
Petro31
c7cf9585ae
Add modern style configuration for template fan ( #144751 )
...
* add modern template fan
* address comments and add tests for coverage
2025-05-15 08:18:37 +02:00
Erik Montnemery
40217e764d
Allow overriding blueprinted templates ( #143874 )
...
* Allow overriding blueprinted templates
* Remove duplicated line
2025-04-30 12:14:28 +02:00
Petro31
95552e9a5b
Add trigger based template lights ( #140631 )
...
* Add abstract template light class in preparation for trigger based template lights
* add base for trigger entity
* Update more tests
* revert trigger template entity changes and light trigger tests.
* fix merge conflicts
* address comments
* change function name
* nitpick
* fix merge conflict issue
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-04-29 18:02:44 +02:00
chammp
8ff4d5dcbf
Adapt template sensors to use the same plural trigger/condition/action definitions as automations ( #127875 )
...
* Add plurals to template entities
* Ruff
* Ruffy ruff
* Fix linters
* Fix bug introduced after merging dev
* Fix merge mistake
* Revert adding automation helper
* Revert "Fix bug introduced after merging dev"
This reverts commit 098d478f150a06546fb9ec3668865fa5d763c6b2.
* Fix blueprint validation
* Apply suggestions from code review
---------
Co-authored-by: Erik <erik@montnemery.com>
2025-04-29 11:52:58 +02:00
Petro31
b2fcab20a6
Add trigger based entities to template switch ( #141763 )
...
* Add trigger based entities to template switch platform
* add suggestions
2025-04-29 09:40:16 +02:00
Petro31
469176c59b
Fix trigger template entity issue when coordinator data is None ( #143830 )
...
Fix issue when coordinator data is None
2025-04-28 14:32:16 +02:00
Petro31
4a1905a2a2
Update template cover to modern style config ( #141878 )
2025-04-25 15:22:49 +02:00
Petro31
ff2c901930
Update trigger based template entity resolution order ( #140660 )
...
* Update trigger based template entity resolution order
* add test
* fix most comments
* Move resolution to base class
* add comment
* remove uncessary if statement
* add more tests
* update availability tests
* update logic stage 1
* phase 2 changes
* fix trigger template entity tests
* fix trigger template entities
* command line tests
* sql tests
* scrape test
* update doc string
* add rest tests
* update sql sensor _update signature
* fix scrape test constructor
* move state check to trigger_entity
* fix comments
* Update homeassistant/components/template/trigger_entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/helpers/trigger_template_entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Update homeassistant/helpers/trigger_template_entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* update command_line and rest
* update scrape
* update sql
* add case to command_line sensor
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2025-04-25 13:17:25 +02:00
epenet
a3605921c9
De-duplicate test helper function ( #143437 )
...
* De-duplicate test helper function
* One more
2025-04-22 12:04:12 +02:00
Petro31
9b274a0bc4
Correct template fan optimistic mode and supported features ( #142414 )
2025-04-14 15:40:29 +02:00