epenet
4bfecea2f4
Force alias when importing notify PLATFORM_SCHEMA ( #120494 )
2024-06-26 10:02:24 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Jan Bouwhuis
3dc8df2403
Get ServiceValidationError message from translation cache only ( #113704 )
...
* Get ServiceValidationError message from translation cache only
* Remove message for NotValidPresetModeError
2024-03-18 14:42:21 +01:00
Marc Mueller
930a396712
Add empty line after module docstring [s] ( #112704 )
2024-03-08 14:33:51 +01:00
Jan Bouwhuis
addc02fa86
Revert "Set up smtp integration via the UI" ( #110862 )
...
Revert "Set up smtp integration via the UI (#110817 )"
This reverts commit 66a31407f9
.
2024-02-18 16:21:27 +01:00
Jan Bouwhuis
66a31407f9
Set up smtp integration via the UI ( #110817 )
...
* Set up smtp integration via the UI
* Update homeassistant/components/smtp/config_flow.py
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
* Update homeassistant/components/smtp/notify.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Update homeassistant/components/smtp/notify.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Update homeassistant/components/smtp/notify.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* Update homeassistant/components/smtp/notify.py
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
* ruff
---------
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2024-02-18 13:20:45 +01:00
lunmay
16f6a57924
Fix missing apostrophe in smtp ( #105189 )
...
Fix missing apostrophe
2023-12-07 07:12:27 +01:00
Jan Bouwhuis
d8a6d864c0
Raise on smtp notification if attachment is not allowed ( #104981 )
...
* Raise smtp notification if attachment not allowed
* Pass url as placeholder
* Use variable in err message
* Add allow_list as placeholder
2023-12-04 11:48:29 +01:00
Jan Bouwhuis
fe2906f159
Do not allow smtp to access insecure files ( #104972 )
2023-12-03 20:06:01 -05:00
aptalca
a1f7f899c9
Make SMTP notify send images as attachments if html is disabled ( #93562 )
...
smtp notify: send images without html as attachments
update smtp test to detect content_type for plain txt + image
2023-11-23 13:51:51 +01:00
Rami Mosleh
eb0099dee8
Move smtp constants to const.py ( #99542 )
2023-09-11 09:36:55 +02:00
Ville Skyttä
b51c0f6ddc
Remove unnnecessary pylint configs from components [s-z]* ( #98925 )
2023-08-24 01:25:32 +02:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
epenet
0d579f6ac3
Add hints to get_service in integrations (2/2) ( #86693 )
2023-01-26 16:55:57 +01:00
Franck Nijhof
f39f3b612a
String formatting and max line length - Part 5 ( #84501 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2022-12-23 16:43:17 +01:00
Paulus Schoutsen
cbd0c8976b
Attach SSL context to SMTP notify and IMAP sensor ( #72568 )
2022-05-26 22:15:20 -07:00
Marc Mueller
6eef3c16f2
Update pylint to 2.13.8 ( #71280 )
2022-05-04 12:14:24 +02:00
Marc Mueller
ea2e94a4e5
Use assignment expressions 24 ( #58181 )
2021-10-22 14:07:19 +02:00
Ville Skyttä
9864f2ef8b
String formatting cleanups ( #52937 )
2021-07-13 00:12:55 +02:00
billsq
90e9216e9a
Add support for overriding SMTP recipient(s) in a service call ( #47611 )
2021-06-28 12:54:03 +02:00
J. Nick Koston
56e76a3265
Support reloading the smtp notify platform ( #39530 )
...
* Support reloading the smtp notify platform
* patch test
2020-09-02 19:43:07 -05:00
Eric Severance
ed68b15a31
Support unknown mime type for image attachments in html email ( #38682 )
2020-08-21 08:37:08 -06:00
Franck Nijhof
53545c984b
Log lines do not end with a full stop ( #37527 )
2020-07-05 23:04:19 +02:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
23b92b2a56
Sort imports according to PEP8 for components starting with "S" ( #29777 )
2019-12-09 14:38:01 +01:00
Brendon Baumgartner
15870e0185
Do not fail smtp notify service on connection error ( #27240 )
...
* smtp notify dont disable service
* auth fails smtp notify service
2019-10-08 10:14:17 +02:00
Franck Nijhof
445c741b30
Use literal string interpolation in integrations R-S (f-strings) ( #26392 )
2019-09-03 21:14:39 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Tobias Sauerwein
048b100eea
Clean up docstrings ( #22679 )
...
* Clean up docstrings
* Fix long lines
* Fix more docstrings
* Fix more docstrings
* Fix more docstrings
2019-04-03 17:40:03 +02:00
Robbie Trencheny
7741ec4d5a
Great migration notify ( #22406 )
...
* Move notify platforms into components
* Move notify tests
* Fix notify tests
* More fixes
* Update requirements
* Update .coveragerc
* Run gen reqs
2019-03-27 20:36:13 -07:00