J. Nick Koston
7fbe1dbc99
Remove legacy fan compatibility shim ( #59781 )
2021-12-03 21:57:46 -08:00
Erik Montnemery
0e3bc21d54
Teach state and numeric_state conditions about entity registry ids ( #60841 )
2021-12-02 14:55:12 -08:00
Erik Montnemery
caf5ee2fab
Remove optional validation when creating conditions ( #60481 )
2021-11-28 14:54:07 +01:00
GitHub Action
d3c020325b
[ci skip] Translation update
2021-11-25 00:13:33 +00:00
GitHub Action
72b0eb719e
[ci skip] Translation update
2021-11-20 00:12:27 +00:00
GitHub Action
29dc9de08f
[ci skip] Translation update
2021-11-19 00:14:01 +00:00
Michael
771922b871
Add support for property attribute shorthand in Fan entity ( #59649 )
2021-11-16 01:25:22 +01:00
GitHub Action
f0c9f443d1
[ci skip] Translation update
2021-11-15 00:12:46 +00:00
GitHub Action
e35b83081e
[ci skip] Translation update
2021-11-08 00:12:31 +00:00
GitHub Action
4634b65924
[ci skip] Translation update
2021-10-21 00:12:43 +00:00
Marc Mueller
2a8eaf0e0f
Use assignment expressions 06 ( #57786 )
2021-10-17 20:05:11 +02:00
Marc Mueller
12d1dfdaf9
Use assignment expressions 10 ( #57791 )
2021-10-15 21:36:03 +02:00
GitHub Action
06602e6cc5
[ci skip] Translation update
2021-10-03 00:13:50 +00: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
Ville Skyttä
0095c6baeb
Improve device trigger type hinting ( #54907 )
2021-08-22 20:32:50 +02:00
Ville Skyttä
4bb2c6e00f
Improve device action type hinting ( #54850 )
...
* Improve device action type hinting
* More precise _async_get_automations type hints
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-08-20 07:13:25 +03:00
Ville Skyttä
939fde0a50
ConfigType and async_setup/setup type hint improvements ( #54739 )
2021-08-18 13:22:05 +02:00
Franck Nijhof
0b44265232
Add description classes to entity components ( #53521 )
...
* Add description classes to entity components
* An -> A
* Add StateVacuumEntityDescription
2021-07-27 00:22:21 +02:00
GitHub Action
0c5ce9cac2
[ci skip] Translation update
2021-07-07 00:11:57 +00:00
Erik Montnemery
6c8de16fbc
Enable basic type checking for fan ( #52471 )
2021-07-06 18:21:00 +02:00
Franck Nijhof
7947946793
Type entry setup/unload for entity components ( #51912 )
2021-06-17 10:10:26 +02:00
GitHub Action
330f713e43
[ci skip] Translation update
2021-06-08 00:21:17 +00:00
Erik Montnemery
04e9acc20a
Simplify device condition code ( #51266 )
2021-05-31 09:47:30 +02:00
Erik Montnemery
489c73b4da
Simplify device action code ( #51263 )
2021-05-31 09:47:15 +02:00
tkdrob
028a07d86f
Wrap up selectors ( #50794 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
GitHub Action
1f80defe3a
[ci skip] Translation update
2021-05-18 00:12:13 +00:00
Franck Nijhof
eccefd154a
Extend targets for entity component services ( #50760 )
2021-05-17 14:06:50 +02:00
Marc Mueller
c07646db5d
Update typing syntax ( #49480 )
...
* Update typing syntax
* Replace typing imports with ones from collections where possible
* Changes after review
2021-04-20 17:40:41 +02:00
Franck Nijhof
855b68faa1
Remove HomeAssistantType alias from entity components - Part 1 ( #48467 )
2021-03-29 13:24:36 -10:00
Erik Montnemery
fe4ca18881
Refactor fan device triggers to use ToggleEntity triggers ( #48321 )
2021-03-30 00:09:41 +02:00
J. Nick Koston
564688af25
Fix template fan default speed count ( #48389 )
...
* Fix template fan default speed count
The default speed count was defaulting to 3 when percentage
was implemented instead of the documented value of 100
* Increase coverage
* remove unreachable code
2021-03-29 09:33:56 +02:00
Franck Nijhof
0d595a2845
Merge of nested IF-IF cases - E-G ( #48367 )
2021-03-27 12:39:37 +01:00
Erik Montnemery
4fbc3da196
Validate device action schemas once ( #48351 )
2021-03-26 08:46:26 +01:00
Erik Montnemery
72281f4718
Validate device trigger schemas once ( #48319 )
2021-03-26 08:09:21 +01:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ( #48161 )
...
* Mark base state_attributes @final, rename others to extra_state_attributes
* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
J. Nick Koston
c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period ( #48064 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
Marc Mueller
91df3fa904
Update typing 06 ( #48039 )
2021-03-17 23:49:01 +01:00
HomeAssistant Azure
c11b85af2f
[ci skip] Translation update
2021-03-16 00:04:36 +00:00
J. Nick Koston
62d8e47c51
Map silent as a preset mode for fan backcompat ( #47396 )
...
The original change did not map silent as a preset mode
because it was not clear if it was a speed or a preset.
2021-03-04 13:02:50 -08:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
J. Nick Koston
ffe42e150a
Add missing target to increase_speed/decrease_speed service ( #46939 )
2021-02-23 12:03:30 -06:00
Franck Nijhof
ea4bbd771f
Add service names to previously enriched services ( #46929 )
...
Co-authored-by: Tobias Sauerwein <cgtobi@users.noreply.github.com>
2021-02-23 14:10:13 +01:00
J. Nick Koston
3e334a4950
Fix typing of fan speed count and steps ( #46790 )
2021-02-19 19:57:21 -10:00
J. Nick Koston
f2b303d509
Implement percentage step sizes for fans ( #46512 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-02-18 21:05:09 -10:00
Franck Nijhof
2dfbd4fbcf
Add selectors to Fan service definitions ( #46639 )
2021-02-18 12:24:58 +01:00
Erik Montnemery
f99c27c6d4
Remove unneeded from_state from device triggers ( #45152 )
2021-02-08 11:09:45 +01:00
J. Nick Koston
a74ae3585a
Fix backwards compatiblity with fan update to new model ( #45951 )
...
* Fix backwards compatiblity with fans update to new model
There were some non-speeds and devices that report a none
speed. These problems were discovered when updating zha
tasmota and vesync to the new model in #45407
* Update coverage
* fix check
2021-02-06 12:48:18 +01:00
Paulus Schoutsen
959ed6d077
Update translations
2021-02-03 11:46:49 +01:00
J. Nick Koston
068d1b5eb8
Separate fan speeds into percentages and presets modes ( #45407 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: John Carr <john.carr@unrouted.co.uk>
2021-01-27 17:44:36 -06:00
Erik Montnemery
d61998e184
Raise in base implementation of FanEntity.oscillate ( #43354 )
2020-11-19 12:05:52 +01:00