Skip to content

zubir2k/homeassistant-dailyhadith

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

image

GitHub Repo stars hacs_badge hacs_badge GitHub all releases Buy GitHub Release

Assalamu'alaikum

This is a custom integration on Daily Hadith from Sunnah.com for your Home Assistant ๐Ÿ 
May this benefit you, inshaAllah.

๐Ÿ› ๏ธ What's New: Fallback Hadith Source Updated

  • For users without an API key, daily hadith content is now updated independently.
  • No action requiredโ€”fallback data is always up to date!

๐Ÿšฉ Features

  • Daily random hadith which will refresh midnight.
  • Information includes hadith in arabic and english
  • Full references from chapters, collection names, etc.

image

๐ŸŽฏ Use Cases

  • Display daily hadith on your Home Assistant dashboard
  • Automate daily hadith via notifications, or instant messaging (e.g. Family Group)

wasap

๐Ÿ•น๏ธ Installation

With HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Tip

If you are unable to use the button above, manually search for Daily Hadith in HACS.

Manual

  1. Copy the daily_hadith directory from custom_components in this repository and place inside your Home Assistant's custom_components directory.
  2. Restart Home Assistant
  3. Follow the instructions in the Setup section

Warning

If installing manually, in order to be alerted about new releases, you will need to subscribe to releases from this repository.

๐Ÿ“ฆ Setup

Open your Home Assistant instance and start setting up a new integration.

Tip

If you are unable to use the button above, follow the steps below:

  1. Navigate to the Home Assistant Integrations page (Settings --> Devices & Services)
  2. Click the + ADD INTEGRATION button in the lower right-hand corner
  3. Search for Daily Hadith
  4. Enter your API key from Sunnah.com. Leave empty if you have no API key and press Submit.

Create an Issue at Sunnah.com Github Repository to request for the API key here

๐Ÿช„ Markdown Card

You may use below template for your markdown card.

image

type: markdown
content: |-
  ### {{ state_attr("sensor.daily_hadith", "title") }}

  {{ state_attr("sensor.daily_hadith", "arabic") }}

  {{ state_attr("sensor.daily_hadith", "text") }}
title: ๐Ÿ“ฟ Daily Hadith

๐ŸŽ–๏ธ Credits

Data provided by Sunnah.com. Learn more about Sunnah.com

๐Ÿ“ข Join the Community

Home Assistant Official Community
Home Assistant Malaysia

About

๐Ÿ“‘ Daily Hadith in your Home Assistant from Sunnah.com. Give support by pressing the โญ button. Jazakallahu khair

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages