Commit graph

9 commits

Author SHA1 Message Date
Yazan Majadba
b2ade94d15
Add new Islamic prayer times calculation methods (#113763)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-06-22 18:52:18 +02:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Ali Yousuf
47a75cc064
Add more options to Islamic Prayer Times (#95156) 2023-09-08 13:07:33 +02:00
Rami Mosleh
8e22041ee9
Change calculation methods to a fixed list (#99535) 2023-09-03 16:12:37 +02:00
Rami Mosleh
091305fc57
Use DataUpdateCoordinator for islamic_prayer_times (#73893)
* use DataUpdateCoordinator for islamic_prayer_times

Add suggested type hints

remove uneccassry options setup

* Use entity_description for sensors

* move coordinator into separate file, sensor_descptions to sensor.py

* add strict typing

* revert strict typing

* fix test coverage

* revert unrelated file changes

* fix sorting

* Update code based on review

* add missing type hint

* more missing type hints

* Update homeassistant/components/islamic_prayer_times/coordinator.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* remove config_entry parameter

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-25 10:05:51 +01:00
MrAliFu
8d3e3ee6e9
Add new Islamic prayer times calculation method (#79278)
* Adding new calculation method

Adding calculation method Turkey.
islamic_prayer_times 0.0.6 already have turkey as a calc_method, bringing that into here.

* Update const.py

Updated with the feedback

* Importing PrayerTimesCalculator

* Update const.py
2022-10-04 06:36:06 +02:00
Yasser Saleemi
f0deaa33a0
Include moonsighting calc for islamic_prayer_times (#75595) 2022-08-18 14:07:58 +02:00
Rami Mosleh
6e0d61e5e8
Fix Islamic prayer times naming (#34784) 2020-04-29 13:38:20 +02:00
Rami Mosleh
2a6948e696
Add Islamic Prayer Times config flow (#31590)
* Add Islamic Prayer Times config_flow

* Add Islamic Prayer Times config_flow

* handle options update and fix tests

* fix sensor update handling

* fix pylint

* fix scheduled update and add test

* update test_init

* update flow options to show drop list

* clean up code

* async scheduling and revert state to timestamp

* fix update retry method

* update strings

* keep title as root key
2020-04-20 14:22:48 +02:00