Franck Nijhof
d704d4f853
Add parallel automation/script actions ( #69903 )
2022-04-13 13:07:44 -07:00
Marc Mueller
e407960f68
Update pylint to 2.13.5 ( #69989 )
2022-04-13 18:36:05 +02:00
Franck Nijhof
fb92fc6a8e
Trigger on not matching to/from states ( #69760 )
2022-04-12 14:18:23 -07:00
Erik Montnemery
a9742cc445
Drop frontend metadata from entity service schemas ( #69894 )
2022-04-12 18:09:06 +02:00
Franck Nijhof
67b200a532
Add if/else automation/script action ( #69811 )
...
Co-authored-by: Erik <erik@montnemery.com>
2022-04-12 15:02:17 +02:00
Franck Nijhof
81d90b1bc7
Add stop/error script/automation action ( #67340 )
2022-04-11 14:22:22 -07:00
Franck Nijhof
7087020283
Allow any entity to match state condition ( #69763 )
2022-04-11 10:53:42 -07:00
Franck Nijhof
6524dd8fb7
Add support for expanding zones in templates ( #69793 )
2022-04-11 12:59:45 +02:00
Raman Gupta
b325c112b4
Add SelectorType enum and TypedDicts for each selector's data ( #68399 )
...
* rebase off current
* rearrange
* Overload selector function
* Update/fix all selector references
* better typing?
* remove extra option
* move things around
* Switch to Sequence type to avoid ignoring mypy error
* Get rid of ...'s
* Improve typing to reduce number of ignores
* Remove all typing ignores
* Make config optional for selectors that don't need a config
* add missing unit prefixes
* Rename TypedDicts
* Update homeassistant/helpers/selector.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* review feedback
* remove peta from integration integration
* Fix min_max
* Revert change to selector function
* Fix logic
* Add typing for selector classes
* Update selector.py
* Fix indent
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
Franck Nijhof
287edf9ac0
Fix area name unchanged gets written ( #69813 )
2022-04-11 00:03:01 +03:00
J. Nick Koston
fe6a4bfb1d
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC ( #69643 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
Erik Montnemery
f4fb29200c
Allow empty config in discovery.async_load_platform ( #69619 )
2022-04-07 23:24:47 +02:00
Allen Porter
c07100e519
Move Local OAuth http endpoint registration to auth component ( #69507 )
2022-04-06 22:34:31 -07:00
J. Nick Koston
c2c6d12d73
Only fire device_registry_updated for suggested_area if the suggestion results in an area change ( #69215 )
2022-04-04 09:51:39 +02:00
Erik Montnemery
ae9c2df691
Return unsubscribe callback from start.async_at_start ( #69083 )
...
* Return unsubscribe callback from start.async_at_start
* Update calling code
2022-04-01 23:34:36 +02:00
epenet
4c7e1fe060
Cleanup ENTITY_CATEGORIES_SCHEMA ( #66549 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-04-01 09:40:43 -07:00
Paulus Schoutsen
130ca2213f
Enforce EntityCategory enum ( #69015 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 15:04:33 -07:00
Erik Montnemery
69ee4cd978
Deprecate temperature conversion in base entity class ( #68978 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-31 14:29:44 -07:00
Paulus Schoutsen
5eb19b8a70
Enforce RegistryEntryDisabler enum ( #69017 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-31 13:10:07 -07:00
Raman Gupta
6b2fe6cba9
Add support for new select selector properties ( #68952 )
...
* Add support for new select selector properties
* fix mode option
* Apply suggestions from code review
* Correct validation for empty options, update tests
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-03-31 11:28:49 +02:00
Erik Montnemery
f9f360c64e
Rename helper_config_entry_flow to schema_config_entry_flow ( #68924 )
2022-03-30 14:36:47 -07:00
Erik Montnemery
9471e4d77c
Don't override temperature unit for sensors ( #68910 )
2022-03-30 10:15:00 -07:00
Erik Montnemery
2c92d19058
Exclude own entity from group entity selector ( #68782 )
2022-03-30 18:07:47 +02:00
Erik Montnemery
91f6e58e9a
Allow customizing unit for temperature and pressure sensors ( #64366 )
...
* Allow customizing unit for temperature and pressure sensors
* pylint
* Adjust google_wifi tests
* Address review comments and add tests
* Improve rounding when scaling
* Tweak rounding
* Further tweak rounding
* Allow setting entity options with config/entity_registry/update
* Address review comments
* Tweak tests
* Load custom unit when sensor is added
* Override async_internal_added_to_hass
* Adjust tests after rebase
* Apply suggestions from code review
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
* Address review comments
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-03-30 15:43:04 +02:00
Paulus Schoutsen
206ea9d237
Expand group lights/covers etc ( #68875 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-30 10:11:09 +02:00
Erik Montnemery
1746677b61
Clarify duration selector ( #68731 )
2022-03-28 09:28:32 +02:00
Jan Bouwhuis
cfc8b5fee7
Fix notify discovery setup ( #68451 )
...
* Fix notify discovery setup
* add test
* unsubscribe at reset
* Add guard
* move dispatcher to reload module
* only unsubscribe if platform was setup
* initialize dispatcher once and tests
* test get_service too
* add tests
* fix test
* use get_service for test invalid platform
* Test built-in reload method
* set to None after clearing dispatcher - tests
* Pathing services file
* Update tests/components/notify/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* dispatcher is not set twice if integration loaded
* empty discovery payload
* Removed not needed services.yaml mock
* Update tests/components/notify/test_init.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* flake8
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-28 08:53:30 +02:00
Erik Montnemery
0899b67578
Update selectors with frontend changes ( #68623 )
2022-03-26 21:41:39 -07:00
Franck Nijhof
a2a612c640
Add enable_day to duration selector ( #68705 )
2022-03-26 21:31:22 -07:00
Marc Mueller
911b159281
Cleanup after pylint update ( #68657 )
2022-03-26 00:34:12 +01:00
Marc Mueller
53245c6523
Update pylint to 2.13.0 ( #68656 )
2022-03-25 15:14:48 -07:00
Erik Montnemery
76103752b8
Only show light group all option in advanced mode ( #68610 )
2022-03-24 16:51:31 +01:00
Erik Montnemery
3068c9c9d3
Sort selectors alphabetically ( #68612 )
2022-03-24 13:20:16 +01:00
Erik Montnemery
c44d7205cf
Rename HelperFlowStep to HelperFlowFormStep ( #68583 )
2022-03-23 14:43:11 -07:00
Erik Montnemery
a50bac5cc2
Make initial group config flow step a menu ( #68565 )
2022-03-23 08:34:44 -07:00
Martin Hjelmare
04843a975e
Improve reload helper typing ( #68558 )
2022-03-23 12:10:42 +01:00
Erik Montnemery
eb068bc850
Fix targeting all or none entities in service calls ( #68513 )
...
* Fix targeting all or none entities in service calls
* Add test
2022-03-22 19:45:27 +02:00
Erik Montnemery
1b955970f8
Allow hiding and unhiding group members ( #68192 )
2022-03-22 12:14:34 +01:00
Erik Montnemery
b5d2c6e43a
Add config flow for threshold binary sensor ( #68238 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-22 11:32:19 +01:00
Marc Mueller
830cc278d3
Improve `CoordinatorEntity` typing ( #68441 )
2022-03-21 10:22:30 +01:00
Paulus Schoutsen
929df2bc29
Improve error handling process_play_media_url ( #68322 )
2022-03-20 20:25:15 -07:00
Paulus Schoutsen
8bbbd1947d
Raise if referenced entity does not support service ( #68394 )
2022-03-20 16:01:58 -07:00
Paulus Schoutsen
a91888a7f8
Don't use hass.helpers ( #68393 )
2022-03-19 11:39:32 -10:00
Erik Montnemery
d7145095ef
Tweak selectors ( #68267 )
...
* Optionally don't convert output of duration and time selectors
* Allow number selector selection to be None
* Never convert output of duration and time selectors
* Revert "Allow number selector selection to be None"
This reverts commit b6f52c1e83
.
2022-03-18 10:26:05 +01:00
Paulus Schoutsen
ad1e43e083
Add support for variables on trigger ( #68275 )
2022-03-18 09:25:22 +01:00
Marc Mueller
eae0c75620
Make TypeVars private (2) ( #68206 )
2022-03-17 19:09:55 +01:00
Paulus Schoutsen
f6af93ae35
Add support for menu step ( #68203 )
2022-03-16 14:14:50 -07:00
Erik Montnemery
46f27fdefd
Don't prevent automations from triggering themselves ( #68178 )
2022-03-15 18:48:54 +01:00
Erik Montnemery
34eb4aa2d0
Exclude hidden entities from targets ( #68149 )
2022-03-15 08:42:22 -07:00
Erik Montnemery
8ea31cea3a
Fix deadlock when stopping queued script ( #68175 )
2022-03-15 08:29:04 -07:00