https://github.com/chaimchaikin/molad-ha
Molad Sensor for HACS
https://github.com/chaimchaikin/molad-ha
hacs hebrew-calendar home-assistant homeassistant integration jewish jewish-calendar molad
Last synced: 2 months ago
JSON representation
Molad Sensor for HACS
- Host: GitHub
- URL: https://github.com/chaimchaikin/molad-ha
- Owner: chaimchaikin
- Created: 2022-08-24T22:48:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-01T18:53:00.000Z (7 months ago)
- Last Synced: 2024-12-01T19:33:50.899Z (7 months ago)
- Topics: hacs, hebrew-calendar, home-assistant, homeassistant, integration, jewish, jewish-calendar, molad
- Language: Python
- Homepage:
- Size: 37.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Molad Sensor
[](https://github.com/hacs/integration)Molad Sensor for [HACS](https://github.com/hacs/integration)
## Installation
### Download
Use [HACS](https://github.com/hacs/integration) or download the molad directory from inside the apps directory here to your local apps directory### Integration Setup
- Browse to your Home Assistant instance.
- In the sidebar click on Configuration.
- From the configuration menu select: Integrations.
- In the bottom right, click on the Add Integration button.
- From the list, search and select "Molad".
- Follow the instruction on screen to complete the set up.
- After completing, the Molad sensors will be immediately available for use.## Usage
The timezone and location are fetched from your Home Assistant configuration.
This app adds three sensors exposing Molad details for the upcoming Jewish Month:1. `sensor.molad` with the upcoming Molad as the value and more detailed properties as attributes:
| Attribute | Description | Example |
| ----------- | ----------- | --- |
| day | Day of the week of the next Molad occurence | Sunday |
| hours | Hour of the next Molad occurence | 3 |
| minutes | Minutes of the next Molad occurence | 36 |
| am_or_pm | AM/PM of the next Molad occurence | pm |
| chalakim | Chalakim of the next Molad occurence | 15 |
| friendly | Human readable text of the next Molad occurence | Sunday, 3:36 pm and 15 chalakim |
| rosh_chodesh | Days of the week of next Rosh Chodesh | Monday & Tuesday |
| rosh_chodesh_days | List of days of the week of next Rosh Chodesh | Monday, Tuesday |
| is_shabbos_mevorchim | `true` if today is Shabbos Mevorchim, `false` if not | false |
| is_upcoming_shabbos_mevorchim | `true` if the upcoming Shabbos is Shabbos Mevorchim, `false` if not | false |
| month_name | Month name of next Rosh Chodesh | Tammuz |2. `sensor.is_shabbos_mevorchim` - `true` if today is Shabbos Mevorchim, `false` if not
3. `sensor.is_upcoming_shabbos_mevorchim` - `true` if the upcoming Shabbos is Shabbos Mevorchim, `false` if not (known limitation: this sensor works purely on secular days of the week and will count the upcoming Shabbos from Sunday and not Motzei Shabbos)