The Islamic Prayer Times (
islamic_prayer_times) sensor platform displays the various prayer times for Muslims as sensors.
This platform calculates prayer times using the following calculation methods:
- University of Islamic Sciences in Karachi
- Islamic Society of North America
- Muslim World League
- Umm Al-Qura University in Makkah
To enable this sensor in your installation, add the following to your
# Example configuration.yaml entry sensor: - platform: islamic_prayer_times
(list)(Optional)List of available sensors.
Default value: [‘fajr’, ‘dhuhr’, ‘asr’, ‘maghrib’, ‘isha’]
Show the fajr prayer time for today.
Show the sunrise for today which is the end of fajr prayer. This is a calculated field and may not necessarily be the same as the astronomical sunrise.
Show the dhuhr prayer time for today.
Show the asr prayer time for today.
Show the maghrib prayer time for today.
Show the isha prayer time for today.
Show the midnight for today which is the end of isha prayer. This is a calculated field and is not the same as 12AM.
(string)(Optional)The calculation method used for prayer times. Must be one of:
Default value: isna
# Example configuration.yaml entry for all available sensors using a non-default calculation method sensor: - platform: islamic_prayer_times calculation_method: makkah sensors: - fajr - sunrise - dhuhr - asr - maghrib - isha - midnight