Commit graph

140 commits

Author SHA1 Message Date
Erik Montnemery
d1afcd773f
Revert "Cache entity properties that are never expected to change in the base class" ()
Revert "Cache entity properties that are never expected to change in the base class ()"

This reverts commit 042776ebb8.
2023-09-15 11:25:24 +02:00
J. Nick Koston
042776ebb8
Cache entity properties that are never expected to change in the base class () 2023-09-14 17:48:48 -05:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum () 2023-07-23 23:19:24 +02:00
Franck Nijhof
b1e4bae3f0
Migrate image_processing services to support translations ()
* Migrate image_processing services to support translations

* Apply suggestions from code review

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-07-11 23:19:50 +02:00
Franck Nijhof
e402e733a0
Add translations for Image processing () 2023-03-17 13:52:59 -04:00
Erik Montnemery
90d7fb8418
Sort manifests 5 () 2023-02-08 20:35:25 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
d715aa6867
Modernize Image Processing typing ()
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-12-06 16:35:40 +01:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types () 2022-10-04 10:36:42 -04:00
Marc Mueller
50e732d00f
Add image_processing device_class StrEnum () 2022-09-26 20:37:04 -04:00
epenet
996bcbdac6
Make EntityComponent generic () 2022-09-14 14:16:23 -04:00
epenet
b87cd926e7
Fix image-processing type hint () 2022-09-14 11:13:48 +02:00
epenet
458ddb6f4b
Improve type hints in image-processing () 2022-09-13 08:39:39 -04:00
epenet
03f4eb84a0
Improve type hints in demo and dependencies () 2022-09-08 12:46:41 +02:00
jan iversen
0d8ff3d724
Add codeowner to internal integrations that are without () 2022-02-28 09:06:16 +01:00
epenet
1650332188
Add init type hints [h-j] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 16:31:48 +01:00
epenet
fb272f58fb
Ensure service calls are typed [h-i] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:19:14 +01:00
Marc Mueller
be201e3ebe
Use assignment expressions 27 () 2021-10-22 11:29:21 +02:00
Robert Hillis
5e8c873d5f
Fix image_processing selectors () 2021-08-20 14:20:01 +02:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension () 2021-07-19 06:57:06 -07:00
tkdrob
1160a5f239
Add targets and selectors for services (I-K) ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-14 20:34:59 +02:00
Martin Hjelmare
7e30ab2fb2
Add missing internal quality scale label ()
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-04-10 12:37:20 +02:00
Franck Nijhof
786023fce4
Merge of nested IF-IF cases - H-J () 2021-03-27 11:30:29 +01:00
Erik Montnemery
346a724ac3
Mark base components' state_attribute @final, rename others to extra_state_attributes ()
* Mark base state_attributes @final, rename others to extra_state_attributes

* Fix calendar, update tests
2021-03-21 10:38:24 +01:00
HomeAssistant Azure
c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00
Franck Nijhof
b9d5b3c34e
Add selectors to Conversation, Image Processing and Number service definitions () 2021-02-18 17:13:59 +01:00
Ville Skyttä
a6358430b4
Fix deprecated asyncio.wait use with coroutines ()
https://docs.python.org/3/library/asyncio-task.html#asyncio-example-wait-coroutine
2021-02-10 14:16:58 +01:00
tkdrob
c69c493cf9
Use core constants for image_processing () 2021-02-09 08:03:14 -05:00
J. Nick Koston
6d05729e48
Update image_processing to use async_add_executor_job () 2020-10-14 08:19:39 +02:00
springstan
038c05d0ee
Return attribute dict directly without temporary variable () 2020-10-05 12:51:48 +02:00
HomeAssistant Azure
195d4b6897 [ci skip] Translation update 2020-08-27 00:04:55 +00:00
Joakim Sørensen
730a257f3c
Rename translations dir for integrations () 2020-04-21 16:11:05 -07:00
Paulus Schoutsen
95357dfc55 Update translations 2020-04-20 16:33:54 -07:00
Paulus Schoutsen
0d60d40512 Update translations 2020-04-16 13:00:10 -07:00
Paulus Schoutsen
6119e79023
Migrate frontend translations of domains to backend () 2020-04-16 11:52:27 -07:00
Franck Nijhof
39336d3ea3
Add prettier (in pre-commit and CI) ()
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen
f1d3c0d19b
Remove unused manifest fields () 2020-04-03 12:58:19 -07:00
Paulus Schoutsen
e9e44dbd97
Fix callback and async ()
* Fix callback and async

* Fix a return

* Fix test

* Fix mqtt tests

* Fix some more callbacks
2020-01-29 13:59:45 -08:00
Franck Nijhof
345cc244ed
Correct names in manifests (C-L) () 2020-01-07 08:19:17 +01:00
Paulus Schoutsen
32aae7017e
Remove requirement from entity integration () 2019-12-22 10:32:42 +01:00
Paulus Schoutsen
02d9ed5e36
Do not select all entities when omitting entity ID in service call ()
* Do not select all entities when omitting entity ID

* Address comments Matthew

* Require either area_id or entity_id

* Fix tests

* Fix test
2019-12-02 16:23:12 -08:00
Raman Gupta
5120181e0e move facebox service to facebox domain () 2019-11-27 11:20:24 +01:00
Zach
11efb2c2eb Avoid drawing image_processing font text inside the bow line ()
* Adjust font text such that it won't be drawn inside the bow line in image_processing.draw_box

* Adjust font_height after actually counting the pixels

* Thinned out line_width and adjusted font size
2019-11-05 11:43:36 +01:00
Fabian Affolter
c01b7bbf28 Upgrade pillow to 6.2.1 () 2019-11-04 09:03:58 +01:00
Fabian Affolter
bbafeb5da2 Upgrade pillow to 6.2.0 () 2019-10-13 14:46:12 +02:00
Franck Nijhof
c7da781efc Update documentation link URL for integrations in all manifests () 2019-10-02 09:25:44 -07:00
Robin
1d60cccc21 Put draw_box in image_processing ()
* Put draw_box in image_processing

* Update draw_box

* Update __init__.py

* run isort

* Fix lints

* Update __init__.py

* Update requirements_all.txt

* Adds type hints

* Update gen_requirements_all.py

* Update requirements_test_all.txt

* rerun script/gen_requirements_all.py

* Change Pillow to pillow

* Update manifest.json

* Run script/gen_requirements_all.py
2019-09-24 12:09:16 +02:00
Ville Skyttä
b738082dad Type check various base components ()
* Type check various component base classes, disabling bunch of checks for now

* Type hint fixes

* Help mypy out some

* Add more type hints
2019-08-11 20:38:18 -07:00
Paulus Schoutsen
4de97abc3a Black 2019-07-31 12:25:30 -07:00
Aaron Bach
2354108e6f
Add area support to image processing service schemas () 2019-07-23 14:08:23 -06:00