mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Bump hdate to 1.1.2 (#146659)
This commit is contained in:
parent
680b70aa29
commit
7e6bb021ce
@ -6,6 +6,6 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/jewish_calendar",
|
"documentation": "https://www.home-assistant.io/integrations/jewish_calendar",
|
||||||
"iot_class": "calculated",
|
"iot_class": "calculated",
|
||||||
"loggers": ["hdate"],
|
"loggers": ["hdate"],
|
||||||
"requirements": ["hdate[astral]==1.1.1"],
|
"requirements": ["hdate[astral]==1.1.2"],
|
||||||
"single_config_entry": true
|
"single_config_entry": true
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@ INFO_SENSORS: tuple[JewishCalendarSensorDescription, ...] = (
|
|||||||
translation_key="weekly_portion",
|
translation_key="weekly_portion",
|
||||||
device_class=SensorDeviceClass.ENUM,
|
device_class=SensorDeviceClass.ENUM,
|
||||||
options_fn=lambda _: [str(p) for p in Parasha],
|
options_fn=lambda _: [str(p) for p in Parasha],
|
||||||
value_fn=lambda results: str(results.after_tzais_date.upcoming_shabbat.parasha),
|
value_fn=lambda results: results.after_tzais_date.upcoming_shabbat.parasha,
|
||||||
),
|
),
|
||||||
JewishCalendarSensorDescription(
|
JewishCalendarSensorDescription(
|
||||||
key="holiday",
|
key="holiday",
|
||||||
@ -98,17 +98,13 @@ INFO_SENSORS: tuple[JewishCalendarSensorDescription, ...] = (
|
|||||||
key="omer_count",
|
key="omer_count",
|
||||||
translation_key="omer_count",
|
translation_key="omer_count",
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
value_fn=lambda results: (
|
value_fn=lambda results: results.after_shkia_date.omer.total_days,
|
||||||
results.after_shkia_date.omer.total_days
|
|
||||||
if results.after_shkia_date.omer
|
|
||||||
else 0
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
JewishCalendarSensorDescription(
|
JewishCalendarSensorDescription(
|
||||||
key="daf_yomi",
|
key="daf_yomi",
|
||||||
translation_key="daf_yomi",
|
translation_key="daf_yomi",
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
value_fn=lambda results: str(results.daytime_date.daf_yomi),
|
value_fn=lambda results: results.daytime_date.daf_yomi,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
2
requirements_all.txt
generated
2
requirements_all.txt
generated
@ -1133,7 +1133,7 @@ hass-splunk==0.1.1
|
|||||||
hassil==2.2.3
|
hassil==2.2.3
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate[astral]==1.1.1
|
hdate[astral]==1.1.2
|
||||||
|
|
||||||
# homeassistant.components.heatmiser
|
# homeassistant.components.heatmiser
|
||||||
heatmiserV3==2.0.3
|
heatmiserV3==2.0.3
|
||||||
|
2
requirements_test_all.txt
generated
2
requirements_test_all.txt
generated
@ -988,7 +988,7 @@ hass-nabucasa==0.101.0
|
|||||||
hassil==2.2.3
|
hassil==2.2.3
|
||||||
|
|
||||||
# homeassistant.components.jewish_calendar
|
# homeassistant.components.jewish_calendar
|
||||||
hdate[astral]==1.1.1
|
hdate[astral]==1.1.2
|
||||||
|
|
||||||
# homeassistant.components.here_travel_time
|
# homeassistant.components.here_travel_time
|
||||||
here-routing==1.0.1
|
here-routing==1.0.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user