8000 Add targets and selectors for services (S-T) by tkdrob · Pull Request #50629 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add targets and selectors for services (S-T) #50629

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

Conversation

tkdrob
Copy link
Contributor
@tkdrob tkdrob commented May 14, 2021

Breaking change

Proposed change

Add targets and selectors for services (S-T)

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:

Checklist

  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • The code has been formatted using Black (black --fast homeassistant tests)
  • Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

To help with the load of incoming pull requests:

@balloob balloob merged commit d37a3cd into home-assistant:dev May 15, 2021
Comment on lines +64 to +68
options:
- 'low'
- 'medium'
- 'high'
- 'off'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alarm volume is an integer

Comment on lines +75 to +79
options:
- 'low'
- 'medium'
- 'high'
- 'off'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chime volume is an integer

Comment on lines +124 to +128
options:
- 'low'
- 'medium'
- 'high'
- 'off'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voice prompt volume is an integer

Comment on lines 14 to +21
entity_id:
description: Entity ID of the players to join to the "master".
example: "media_player.bedroom"
name: Entity
description: The players to join to the "master".
selector:
target:
entity:
integration: snapcast
domain: media_player
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

snapcast.join is an entity service, it should be migrated to a target instead.

Comment on lines +30 to +34
selector:
target:
entity:
integration: soundtouch
domain: media_player
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This accepts multiple entity IDs. We should be using the object selector instead.

Comment on lines +53 to +56
target:
entity:
integration: soundtouch
domain: media_player
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This accepts multiple entity IDs. We should be using the object selector instead.

Comment on lines +74 to +78
selector:
target:
entity:
integration: soundtouch
domain: media_player
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This accepts multiple entity IDs. We should be using the object selector instead.

example: Errands
default: Inbox
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is case sensitive, but the default is inbox.

@tkdrob tkdrob deleted the Add-targets-and-selectors-for-services-(S-T) branch May 15, 2021 08:56
@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0