Commit graph

44 commits

Author SHA1 Message Date
G Johansson
79de1d9ed4
Bump holidays to 0.60 (#129909) 2024-11-05 20:26:22 +01:00
G Johansson
f34ba9bf96
Bump holidays to 0.59 (#128924) 2024-10-21 20:19:56 +02:00
epenet
25aea140be
Cleanup unnecessary reconfigure_confirm from config flows (#128086) 2024-10-14 12:57:15 +02:00
epenet
ac7dc03603
Do not cache the reconfigure entry in holiday config flow (#128005) 2024-10-09 17:09:24 +02:00
G Johansson
3a2843b9fa
Bump holidays library to 0.58 (#127876) 2024-10-08 08:09:03 +02:00
epenet
c7739a7760
Align async_step_reconfigure type hints (#127450) 2024-10-03 17:54:51 +02:00
epenet
f0f924a0a2
Use _get_reconfigure_entry in holiday (#127295) 2024-10-02 14:31:19 +02:00
epenet
46405d7738
Improve type hints in config_flow reconfigure step (#127224) 2024-10-01 22:21:54 +02:00
G Johansson
06cd86419f
Bump python-holidays to 0.57 (#126367) 2024-09-21 21:05:52 -04:00
G Johansson
cfe0c95c97
Bump python-holidays to 0.56 (#125182) 2024-09-03 22:43:03 +02:00
G Johansson
266cd623a5
Bump python-holidays to 0.55 (#124314) 2024-08-22 07:59:21 +02:00
G Johansson
7d5ddbf51c
Bump python-holidays to 0.54 (#124170) 2024-08-18 20:05:41 +02:00
G Johansson
62cc868150
Bump python-holidays to 0.53 (#122021) 2024-07-16 13:47:11 +02:00
G Johansson
0cf5b4f965
Bump python-holidays to 0.52 (#121283) 2024-07-05 10:02:52 +02:00
G Johansson
0f7229f55f
Fix holiday using utc instead of local time (#120432) 2024-06-26 08:45:53 +02:00
G Johansson
9723b97f4b
Bump python-holidays to 0.51 (#119918) 2024-06-18 22:05:11 +02:00
G Johansson
f2d674d28d
Bump babel to 2.15.0 (#119006) 2024-06-07 10:53:54 +02:00
G Johansson
0d2e441de5
Bump python-holidays to 0.50 (#118965) 2024-06-06 13:34:03 +02:00
G Johansson
34df767762
Fix blocking call in holiday (#118496) 2024-05-30 19:11:19 +02:00
G Johansson
008b56b4dd
Bump holidays to 0.49 (#118181) 2024-05-26 20:29:58 +02:00
G Johansson
b9d26c097f
Holiday update calendar once per day (#116421) 2024-05-07 18:52:51 +02:00
G Johansson
4037f52d62
Bump python-holidays to 0.48 (#116951)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-06 23:36:47 +02:00
G Johansson
5318a6f465
Bump holidays to 0.47 (#115992) 2024-04-22 21:33:56 +02:00
J. Nick Koston
9d7e20f9ca
Fix deadlock in holidays dynamic loading (#115385) 2024-04-10 23:38:34 +02:00
G Johansson
6638d1c8e8
Bump holidays to 0.46 (#114657) 2024-04-02 20:58:18 +03:00
G Johansson
d4f158d079
Add reconfigure step to holiday (#114057) 2024-03-23 22:55:05 +01:00
G Johansson
3c13a28357
Bump holidays to 0.45 (#114069) 2024-03-23 17:24:34 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
G Johansson
f5700aa318
Bump holidays to 0.44 (#112442) 2024-03-05 21:43:58 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
G Johansson
32a6662d1d
Bump holidays to 0.43 (#111039) 2024-02-20 23:37:17 +01:00
G Johansson
4119d20f87
Bump holidays to 0.42 (#109760) 2024-02-05 15:59:02 -05:00
G Johansson
ef49e8a82f
Bump holidays to 0.41 (#108132) 2024-01-16 12:13:41 +01:00
Jan Rieger
058759c76a
Bump python-holidays to 0.40 (#107888) 2024-01-13 17:21:49 +01:00
Jan Rieger
9a81a29ce2
Let babel handle the locale separator in holiday (#107571) 2024-01-08 22:59:12 +01:00
G Johansson
d8c139f211
Fix language flavors in holiday (#107392) 2024-01-08 09:31:44 +01:00
steffenrapp
608d52f167
Add translatable title to holiday (#106825) 2024-01-02 23:40:38 +01:00
G Johansson
648afe121d
Replace dash in language if needed (#106559)
* Replace dash in language if needed

* Add tests
2023-12-28 20:16:14 +01:00
G Johansson
34c9ef42e9
Add myself as codeowner for holiday (#106560) 2023-12-28 16:32:55 +01:00
G Johansson
b852eb7e23
Fix holiday HA language not supported (#106554) 2023-12-28 16:10:27 +01:00
G Johansson
0605c499aa
Bump python-holidays to 0.39 (#106550) 2023-12-28 16:05:52 +01:00
Jan Rieger
cedac41407
Bump python-holidays to 0.38 (#105482) 2023-12-11 13:18:23 +01:00
Jan Rieger
81d05acd07
Address late review for Holiday (#105121) 2023-12-06 12:39:46 +01:00
Jan Rieger
244edb488b
Add Holiday integration (#103795)
* Add Holiday integration

* Localize holiday names

* Changes based on review feedback

* Add tests

* Add device info

* Bump holidays to 0.36

* Default to Home Assistant country setting

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* black

* Move time

* Stop creating duplicate holiday calendars

* Set default language using python-holiday

* Use common translation

* Set _attr_name to None to fix friendly name

* Fix location

* Update homeassistant/components/holiday/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update tests/components/holiday/test_init.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* cleanup

* Set up the integration and test the state

* Test that configuring more than one instance is rejected

* Set default_language to user's language, fallback to country's default language

* Improve tests

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Cleanup

* Add next year so we don't run out

* Update tests/components/holiday/test_init.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Cleanup

* Set default language in `__init__`

* Add strict typing

* Change default language: HA's language `en` is `en_US` in holidays, apart from Canada

* CONF_PROVINCE can be None

* Fix test

* Fix default_language

* Refactor tests

* Province can be None

* Add test for translated title

* Address feedback

* Address feedback

* Change test to use service call

* Address feedback

* Apply suggestions from code review

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Changes based on review feedback

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/holiday/calendar.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Add a test if next event is missing

* Rebase

* Set device to service

* Remove not needed translation key

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-03 16:28:53 +01:00