-
-
Notifications
You must be signed in to change notification settings - Fork 36.8k
Jewish Calendar quality scale #143763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jewish Calendar quality scale #143763
Changes from 7 commits
089dc7b
b22cba4
cd1d778
752c4e7
bd7fc9c
78145bc
953d81a
c562035
be8ed1f
84165e5
22648e0
fbe7d78
0017344
5a9e44c
b1a92c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,92 @@ | ||||||||
| rules: | ||||||||
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. JewishCalendarSensorDescription(
key="date",
translation_key="hebrew_date",
value_fn=lambda info: str(info.hdate),
attr_fn=lambda info: {
"hebrew_year": str(info.hdate.year),
"hebrew_month_name": str(info.hdate.month),
"hebrew_day": str(info.hdate.day),
},
),Would it make sense to create separate entities for these attributes?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No. We discussed this already. The date provides all of them in a single string.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why don't we disable them by default? I mean it sounds like it has a reason for users to automate on them
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We had this discussion here: #116252 (comment)
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| # Bronze | ||||||||
| action-setup: done | ||||||||
| appropriate-polling: done | ||||||||
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| brands: done | ||||||||
| common-modules: done | ||||||||
| config-flow-test-coverage: done | ||||||||
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we test that the option flow refreshes the entry?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Refreshes" meaning that the updated values are taken into consideration?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes!
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||||||||
| config-flow: done | ||||||||
| dependency-transparency: done | ||||||||
| docs-actions: done | ||||||||
| docs-high-level-description: done | ||||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. See home-assistant/home-assistant.io#39998 |
||||||||
| docs-installation-instructions: done | ||||||||
| docs-removal-instructions: done | ||||||||
| entity-event-setup: | ||||||||
| status: exempt | ||||||||
| comment: Entities of this integration do not explicitly subscribe to events. | ||||||||
tsvi marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||
| entity-unique-id: done | ||||||||
| has-entity-name: done | ||||||||
| runtime-data: done | ||||||||
| test-before-configure: | ||||||||
| status: exempt | ||||||||
| comment: Local calculation does not require configuration. | ||||||||
| test-before-setup: | ||||||||
| status: exempt | ||||||||
| comment: Local calculation does not require setup. | ||||||||
| unique-config-entry: done | ||||||||
tsvi marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||
|
|
||||||||
| # Silver | ||||||||
| action-exceptions: done | ||||||||
tsvi marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||||
| config-entry-unloading: done | ||||||||
| docs-configuration-parameters: done | ||||||||
| docs-installation-parameters: done | ||||||||
|
Comment on lines
+36
to
+37
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a neat table you can use to format this, now everything is their own header
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. See home-assistant/home-assistant.io#39998 |
||||||||
| entity-unavailable: | ||||||||
| status: exempt | ||||||||
| comment: This integration cannot be unavailable since it's a local calculation. | ||||||||
| integration-owner: done | ||||||||
| log-when-unavailable: | ||||||||
| status: exempt | ||||||||
| comment: This integration cannot be unavailable since it's a local calculation. | ||||||||
| parallel-updates: done | ||||||||
| reauthentication-flow: | ||||||||
| status: exempt | ||||||||
| comment: This integration does not require reauthentication, since it is a local calculation. | ||||||||
| test-coverage: done | ||||||||
tsvi marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||
| async def test_sensor_does_not_update_on_time_change( |
| async def test_issur_melacha_sensor( |
| async def test_issur_melacha_sensor_update( |

Uh oh!
There was an error while loading. Please reload this page.