-
-
Notifications
You must be signed in to change notification settings - Fork 60
Spelling #309
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
Open
jsoref
wants to merge
8
commits into
home-assistant:master
Choose a base branch
from
jsoref:spelling
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Spelling #309
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f4103a4
Fix link: Docker Desktop WSL 2 backend on Windows
jsoref f4e6ef8
Fix spelling: , or
jsoref bc1893c
Fix spelling: fall back
jsoref 6f8dc45
Fix spelling: if
jsoref c5d3ad4
Fix spelling: initiated
jsoref e22ffe2
Fix spelling: its
jsoref 4a98f23
Fix spelling: repository
jsoref 84d3fe7
Fix spelling: well,
jsoref File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ A context object contains the following fields: | |
| | Field | Description | | ||
| | ---------------- | ------------------------------------------------------------------------------------- | | ||
| | id | Unique identifier for the context. | | ||
| | user_id | Unique identifier of the user that started the change, in case it is known to home assistant. This field is most notably populated, if the change is initiatited via the frontend. The user_id is used for restricting the ability to access and change the state of your home. | | ||
| | user_id | Unique identifier of the user that started the change, if it is known to home assistant. This field is most notably populated, if the change is initiated via the frontend. The user_id is used for restricting the ability to access and change the state of your home. | | ||
| | parent_id | Unique identifier of the parent context's id that started the change. Most notably, automations will generate a new context, even if the trigger already has one. This is done to decouple the automation actions from the user privileges possibly associated to the trigger. Note that, currently, not all triggers generate a context. | | ||
|
|
||
| In the following example, all events and states will refer to the same context (either directly in their `context.id` or via `context.parent_id`): | ||
|
|
@@ -21,7 +21,7 @@ In the following example, all events and states will refer to the same context ( | |
| - The automation calls service `light.turn_on`, which fires the `service_call` event. | ||
| - The `light.turn_on` service turns on the light which causes an update to the state of `light.living_room`. | ||
|
|
||
| Context is not stored in their own table in the database. Instead, each event row maintains it's own columns to store context. | ||
| Context is not stored in their own table in the database. Instead, each event row maintains its own columns to store context. | ||
|
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. @Habbie asked me to make a PR for this |
||
|
|
||
| Currently, there is no native way to retrieve the original cause of a context in automations or templates. | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| The license of this respository does not extend to any logo or design mark owned | ||
| The license of this repository does not extend to any logo or design mark owned | ||
| by Nabu Casa/Home Assistant. | ||
| All rights reserved. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hereas their titles.