An open API service indexing awesome lists of open source software.

https://github.com/zubir2k/homeassistantdailyhadith

Daily Hadith in your Home Assistant
https://github.com/zubir2k/homeassistantdailyhadith

hadith home-assistant islam malaysia

Last synced: about 1 year ago
JSON representation

Daily Hadith in your Home Assistant

Awesome Lists containing this project

README

          

# HomeAssistantDailyHadith ![visitors](https://visitor-badge.glitch.me/badge?page_id=zubir2k.homeassistantdailyhadith.visitor-badge)
Daily Hadith in your Home Assistant. Source obtained from [Sunnah.com API](https://sunnah.api-docs.io/1.0/getting-started/introduction).\
Please register and obtain your API Key [here](https://github.com/sunnah-com/api/issues/new?template=request-for-api-access.md&title=Request+for+API+access%3A+%5BYour+Name%5D)

## Installation
### 1. [configuration.yaml](configuration.yaml)
- Copy the sensors to your current configuration.yaml.
- Replace the API Key with your key
- Restart to take effect.

### 2. [lovelace.yaml](lovelace.yaml)
- Example given is in a markdown card.
- You may simply 'Copy and paste' 😋

### 3. [automation.yaml](automation.yaml)
- Example given is based on sun state sensor (Sunrise)
- You may simply 'Copy and paste'

*Automation Ideas*
- Idea #1: Read out the daily hadith via TTS
- Idea #2: Send out to Family Telegrams during a certain time (e.g. Sunrise)

### Example output
![image](https://user-images.githubusercontent.com/1905339/138542108-e0c8508c-815c-487e-b476-c1aae17f5d54.png)

### Special Thanks
- [HomeAssistantMalaysia](https://www.facebook.com/groups/homeassistantmalaysia)
- [Sunnah.com](https://sunnah.com/)