J. Nick Koston
85e9bc6f5a
Add support for attribute caching to the image platform ( #106333 )
2023-12-23 14:27:14 -10:00
Erik Montnemery
104bcc64b7
Allow inheriting base component entity descriptions in frozen dataclasses ( #105512 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 23:33:50 -10:00
Erik Montnemery
df73850f56
Move definition of attributes excluded from history to entity classes ( #100430 )
...
* Move definition of attributes excluded from history to entity classes
* Revert change which should be in a follow-up PR
* Fix sun unrecorded attributes
* Fix input_select unrecorded attributes
2023-09-21 15:02:47 +02:00
Marc Mueller
71d985e4d6
Use asyncio.timeout [i-n] ( #98450 )
2023-08-15 14:32:15 +02:00
RenierM26
c54ceb2da2
ImageEntity split load_image_from_url ( #96146 )
...
* Initial commit
* fix async_load_image_from_url
2023-07-13 17:03:26 +02:00
Erik Montnemery
190d67b56c
Improve content type handling in ImageEntity ( #95365 )
2023-06-27 15:28:49 +02:00
Erik Montnemery
723f6d35b0
Address late review comments on image entity URL support ( #95338 )
2023-06-27 13:22:59 +02:00
Erik Montnemery
90c1263501
Adjust image entity URL support ( #95330 )
2023-06-27 11:59:24 +02:00
Jan Bouwhuis
22f29e8c84
Add validation of content_type to image entity ( #95248 )
2023-06-27 11:46:31 +02:00
Jan Bouwhuis
98cc45ec10
Add image url support ( #95301 )
...
* Add image url support
* Use hass as parameter
* Add verify ssl parameter and improve exception handling
* Improve error handling, ignore empty URL's
* Update existing image platforms
---------
Co-authored-by: Erik <erik@montnemery.com>
2023-06-27 08:36:12 +02:00
Erik Montnemery
8e2ba81995
Add image platform to the template integration ( #94928 )
...
* Add image platform to the template integration
* Set a default name
* Fix typo
* Add tests
* Improve test coverage
* Derive content-type from fetched image
2023-06-26 15:54:51 +02:00
Erik Montnemery
5303bef83e
Add image entity component ( #90564 )
2023-06-19 17:03:48 +02:00
Franck Nijhof
80b3572627
Rename image integration to image_upload ( #84063 )
...
* Rename image integration to image_upload
* fix test
2022-12-16 08:16:38 -05:00
Aarni Koskela
5a6f7e66cb
Refactor + strictly-type image component ( #81808 )
...
* image: refactor size validation to use partition
* image: give _generate_thumbnail types and use partition
* image: become strictly typed
2022-11-09 15:36:03 +01:00
Franck Nijhof
e22f69ea8c
Update Pillow to 9.3.0 ( #81343 )
2022-11-01 11:34:44 +02:00
Franck Nijhof
2b27cfdabb
Set system & entity integration types ( #79593 )
2022-10-04 10:36:42 -04:00
Franck Nijhof
b5387ed769
Update Pillow to 9.2.0 ( #74371 )
2022-07-04 13:16:01 +02:00
Franck Nijhof
53d7eaa1a6
Update Pillow to 9.1.1 ( #72376 )
2022-05-23 20:50:39 +02:00
Franck Nijhof
0969e50553
Update Pillow to 9.1.0 ( #70273 )
2022-04-19 12:49:43 +02:00
Franck Nijhof
58409d0895
Update Pillow to 9.0.1 ( #65779 )
2022-02-05 14:19:24 +01:00
Franck Nijhof
1c29260a31
Update Pillow to 9.0.0 ( #63894 )
2022-01-11 14:28:48 +01:00
Martin Hjelmare
a818afdad1
Revert pillow 8.3.2 ( #61793 )
...
* Revert "Bump pillow from 8.2.0 to 8.3.2 (#61661 )"
This reverts commit 3635946211
.
* Add comment
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Fix comment
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-15 03:10:06 +01:00
Sebastian Nohn
3635946211
Bump pillow from 8.2.0 to 8.3.2 ( #61661 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 14:14:05 +01:00
Joakim Sørensen
c59540cfc7
Revert "Bump pillow to 8.3.2 ( #55970 )" ( #56048 )
...
This reverts commit ee7202d10a
.
2021-09-10 17:01:51 +02:00
Paulus Schoutsen
ee7202d10a
Bump pillow to 8.3.2 ( #55970 )
2021-09-08 12:06:30 -07:00
Ville Skyttä
939fde0a50
ConfigType and async_setup/setup type hint improvements ( #54739 )
2021-08-18 13:22:05 +02:00
Franck Nijhof
37af42e470
Upgrade pillow to 8.2.0 ( #51897 )
2021-06-15 19:14:57 +02:00
Michael
b1138b1aab
Add constructor return type in integrations E-K ( #50902 )
2021-05-20 18:47:30 +03:00
Marc Mueller
283b4abe67
Update typing 09 ( #48059 )
2021-03-18 10:02:00 +01:00
Franck Nijhof
197687399d
Upgrade pillow to 8.1.2 ( #47619 )
2021-03-08 14:26:52 +01:00
Franck Nijhof
1926941d8e
Upgrade pillow to 8.1.1 ( #47223 )
2021-03-02 13:02:41 -08:00
Franck Nijhof
52c56fdac7
Upgrade pillow to 8.1.0 ( #45574 )
2021-01-26 18:12:02 +01:00
Franck Nijhof
399661a7f4
Add missing integration quality scale to image integration ( #40289 )
2020-09-19 11:48:56 +02:00
Paulus Schoutsen
4688171ce0
Add cache headers to picture integration ( #39402 )
2020-08-31 09:25:39 +02:00
Ville Skyttä
b4bac0f7a0
Exception chaining and wrapping improvements ( #39320 )
...
* Remove unnecessary exception re-wraps
* Preserve exception chains on re-raise
We slap "from cause" to almost all possible cases here. In some cases it
could conceivably be better to do "from None" if we really want to hide
the cause. However those should be in the minority, and "from cause"
should be an improvement over the corresponding raise without a "from"
in all cases anyway.
The only case where we raise from None here is in plex, where the
exception for an original invalid SSL cert is not the root cause for
failure to validate a newly fetched one.
Follow local convention on exception variable names if there is a
consistent one, otherwise `err` to match with majority of codebase.
* Fix mistaken re-wrap in homematicip_cloud/hap.py
Missed the difference between HmipConnectionError and
HmipcConnectionError.
* Do not hide original error on plex new cert validation error
Original is not the cause for the new one, but showing old in the
traceback is useful nevertheless.
2020-08-28 13:50:32 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Paulus Schoutsen
24a16ff8fe
Add image integration ( #38969 )
2020-08-19 11:33:04 +02:00