-
-
Notifications
You must be signed in to change notification settings - Fork 37.5k
Add player specific sensor to nintendo_parental_controls #155786
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
Merged
emontnemery
merged 30 commits into
home-assistant:dev
from
pantherale0:nintendo_parental_controls/add_player_sensor
May 11, 2026
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
4445932
Add a player specific sensor
pantherale0 246299d
Update homeassistant/components/nintendo_parental_controls/sensor.py
pantherale0 e9d7ef3
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 66a13ce
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 f02aa7a
Rename async_add_devices to async_add_entities in Nintendo parental c…
pantherale0 bef5e98
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 9a1e04b
Update player sensors for 2.1.0
pantherale0 9845be1
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 5ae6f36
mypy fixes
pantherale0 709fe14
fix tests
pantherale0 4944d9c
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 42b88c7
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 359d378
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 4017d0f
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 0cf577f
collect sensor entities into single list
pantherale0 c929069
handle missing players and update tests
pantherale0 77958c0
remove unused imports from sensor.py
pantherale0 cfb24da
remove unused player_playing_time attributes in strings.json
pantherale0 fc93dc3
specify type for entities list in async_setup_entry
pantherale0 cc44f41
fix snapshot
pantherale0 a499e62
Update homeassistant/components/nintendo_parental_controls/sensor.py
pantherale0 c3d081d
Update homeassistant/components/nintendo_parental_controls/sensor.py
pantherale0 30528c1
update formatting and tests
pantherale0 aebaaa9
update tests based on review comment
pantherale0 f9ed25a
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
pantherale0 5f8276d
update snapshots
pantherale0 9b2f980
rename `player` to `player_id`
pantherale0 0e61a48
Potential fix for pull request finding
pantherale0 f61fdda
fix copilot suggestion
pantherale0 9fc9288
Merge branch 'dev' into nintendo_parental_controls/add_player_sensor
emontnemery 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
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
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.
Does the naming scheme have to follow this or could it be shortened?
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.
I've named it like this to follow the rest of the naming scheme for other entities. Long, but I need to be able to pass the translation placeholder for the account name.