Commit graph

131 commits

Author SHA1 Message Date
Jan Rieger
422b09f4ec
Bump python-holidays to 0.36 (#104055) 2023-11-16 01:42:55 +01:00
G Johansson
8e71086c21
Workday add languages (#103127) 2023-11-13 13:41:46 +01:00
G Johansson
b580ca6e6f
Add Check date service for Workday (#97280) 2023-11-06 10:17:48 +01:00
Jan Rieger
0f1c96ba97
Add translations to Workday state attributes (#103320) 2023-11-03 17:49:48 +01:00
G Johansson
412b0e1c55
Bump python-holidays to 0.35 (#103092) 2023-11-01 12:37:59 +01:00
G Johansson
193ce08b39
No aliases in workday (#103091) 2023-10-31 11:35:09 +01:00
G Johansson
b6d8211c6c
Use CountrySelector in Workday (#101879) 2023-10-12 17:39:08 +02:00
Robert Resch
87c82fb00f
Remove NONE_SENTINEL in favor of optional select in workday (#101280) 2023-10-11 13:29:42 +02:00
G Johansson
f2cf87b0b7
Remove YAML import from Workday (#101223) 2023-10-02 09:01:03 +02:00
G Johansson
7b1b189f3e
Add date range to Workday (#96255) 2023-09-26 08:21:36 +02:00
G Johansson
8d50be379c
Create repairs in Workday if country or province is wrong (#98753)
* Repairs workday

* fix if not province exist

* Tests repairs

* Add tests

* Finalize tests

* Fix feedback

* simplify

* Less translations
2023-09-25 08:59:15 +02:00
Scott Colby
49715f300a
Allow workday sensor to be configured without a country (#93048)
* Merge branch 'dev' into workday_without_country

* ruff

* remove province check

* Remove not needed test

* Mod config flow

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-24 16:13:45 +02:00
G Johansson
b681dc06e0
Fix default language in Workday (#99463)
Workday fix default language
2023-09-02 09:47:59 +02:00
G Johansson
1a4fb90897
Clean off unnecessary logger in Workday (#98741) 2023-08-21 12:03:01 +02:00
G Johansson
a29e4a5f02
Move Workday failures to __init__ (#98651)
Workday failures in init
2023-08-20 22:30:43 +02:00
Arkadii Yakovets
7827f9ccae
Update country province validation (#84463)
* Update country `province` validation.

* Run pre-commit.

* Add tests

* Mod config flow

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-18 21:20:04 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker
b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Erik Montnemery
08a5f63474
Add deprecated_yaml issue to the homeassistant integration (#95980)
* Add deprecated_yaml issue to the homeassistant integration

* Update test

* Update homeassistant/components/homeassistant/strings.json

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

* Include DOMAIN in issue_id

* Update test

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-07-10 13:06:52 +02:00
Arkadii Yakovets
b2bf360297
Update holidays to 0.28 (#95091)
Bump Python Holidays version to 0.28

Set `language` from country's default language
for holidays objects.
2023-07-08 20:27:25 +02:00
Jan-Philipp Benecke
6f9a640fa3
Make workday integration title translatable (#95803) 2023-07-08 11:48:15 +02:00
Joost Lekkerkerker
45bbbeee19
Use explicit naming in workday sensor (#95531) 2023-06-29 11:36:39 -04:00
Franck Nijhof
34ac541493
Revert "Remove Workday YAML configuration (#94102)" (#95524) 2023-06-29 12:00:13 +02:00
G Johansson
aec946e93a
Improve description in Workday config flow (#94945) 2023-06-21 11:17:36 +02:00
G Johansson
f2cf92050a
Remove Workday YAML configuration (#94102)
Remove platform yaml from workday
2023-06-12 11:27:37 +02:00
Ville Skyttä
1ce74ba25c
Import util.dt as dt_util in components/[t-z]* (#93763) 2023-05-29 23:00:43 +02:00
G Johansson
e676cbe9f2
Fix import issue in Workday (#92727)
* Workday fix import

* Messages
2023-05-21 10:13:36 +02:00
G Johansson
01e131b278
Fix already_configured string in workday (#92901)
* Fix already_configured string in workday

* Fix strings
2023-05-13 10:42:04 +02:00
Arkadii Yakovets
0c0d59d3e2
Correct workday strings typo (#92880) 2023-05-10 09:47:42 +02:00
G Johansson
7e19bb4ee0
Minor cleanup config flow Workday (#92163) 2023-05-07 00:55:06 +02:00
G Johansson
d648a93dcb
Fix options flow Workday (#92140)
* Fix options flow workday

* simpler
2023-04-28 09:44:23 +02:00
J. Nick Koston
739963b5ee
Remove deprecated async_setup_platforms (#91929) 2023-04-23 22:38:35 -05:00
G Johansson
f74103c57e
Add config flow to Workday (#72558)
* Initial commit Workday Config Flow

* Add tests

* Remove day_to_string

* new entity name, new depr. version, clean

* Use repairs for depr. warning

* Fix issue_registry moved

* tweaks

* hassfest

* Fix CI

* FlowResultType

* breaking version

* remove translation

* Fixes

* naming

* duplicates

* abort entries match

* add_suggested_values_to_schema

* various

* validate country

* abort_entries_match in option flow

* Remove country test

* remove country not exist string

* docstring exceptions

* easier

* break version

* unneeded check

* slim tests

* Fix import test

* Fix province in abort_match

* review comments

* Fix import province

* Add review fixes

* fix reviews

* Review fixes
2023-04-19 11:50:11 +02:00
G Johansson
cb6d384dba
Workday cleanup (#90267)
* clean binary sensor

* fix const

* clean sensor

* Fix tests

* Clean up

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-27 23:11:49 +02:00
Joel Goguen
d9471fd01a
Bump python-holidays to 0.21.13 (#89724)
Update Python holidays module to 0.21.13

python-holidays 0.19-0.21.13 adds support for new countries and enhances
support for many currently supported countries.
2023-03-27 12:14:16 +02:00
G Johansson
b1370cbd42
Add constants file to workday (#90168)
Constants workday
2023-03-23 12:01:03 +01:00
G Johansson
2b4514ae25
Add codeowner Workday (#90167)
codeowner
2023-03-23 11:53:22 +01:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Franck Nijhof
e164fdbef8
Update holidays to 0.18.0 (#84770) 2022-12-29 13:57:35 +01:00
Mask3007
e1572872a1
Update holidays dependency to latest 0.17.2 (#82794)
fixes undefined
2022-11-27 15:14:21 -05:00
Tom Brien
87dfe82613
Bump holidays to 0.16 (#78832) 2022-09-28 10:39:43 +02:00
Igor Loborec
a9e4673aff
Bump holidays to 0.14.2 (#73121) 2022-06-06 19:07:02 +02:00
epenet
ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
G Johansson
abc73ff2e1
Improve code quality workday (#66446)
* Code quality workday

* Modify from review

* Modify from review 2

* Fix mypy
2022-02-18 23:04:19 +02:00
Vaclav
0bebf14e45
Bump holidays to 0.13 (#66612) 2022-02-17 20:59:50 +01:00
J. Nick Koston
5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08:00
epenet
0471a9e885
Add setup type hints to workday (#63810)
* Add setup type hints to workday

* Adjust dict accessor

* Adjust tests

* Undo changes to tests

* Adjustments to loading of config

* Once more

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-10 15:21:16 +01:00
Franck Nijhof
0adc96348c
Update holidays to 0.12 (#63389) 2022-01-05 09:14:48 +01:00
Martin Hjelmare
7dfcccd43e
Bump holidays to 0.11.3.1 (#56804) 2021-09-29 23:57:07 +02:00