Skip to content

Remove empty entity_id from light doc#11602

Closed
fhoekstra wants to merge 1 commit into
home-assistant:nextfrom
fhoekstra:fhoekstra-ent-id-all
Closed

Remove empty entity_id from light doc#11602
fhoekstra wants to merge 1 commit into
home-assistant:nextfrom
fhoekstra:fhoekstra-ent-id-all

Conversation

@fhoekstra
Copy link
Copy Markdown
Contributor

Description:

Leaving entity_id empty to target all has been deprecated, and is now non-functional since 0.103: home-assistant/core#29178

In this commit, I patch the light doc page (probably the most visited one). Let me know if you want me to do this for all integrations. I was not 100% sure if this change is across all integrations.

Pull request in home-assistant (if applicable): home-assistant/home-assistant#

Checklist:

  • Branch: next is for changes and new documentation that will go public with the next Home Assistant release. Fixes, changes and adjustments for the current release should be created against current.
  • The documentation follows the standards.

As per 0.103, entity_id is non-optional and entity_id: all should be used to target all.
@probot-home-assistant probot-home-assistant Bot added has-parent This PR has a parent PR in another repo next This PR goes into the next branch labels Jan 2, 2020
Copy link
Copy Markdown
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

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

Hi there, @fhoekstra!

This is a change to our current documentation and does not depend on the next release of Home Assistant. Therefore this PR should be based on and targeting the current branch.

Please change the target and rebase your PR if needed.

Thanks! 👍

@frenck frenck added in-progress This PR/Issue is currently being worked on needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch labels Jan 2, 2020
@frenck
Copy link
Copy Markdown
Member

frenck commented Jan 7, 2020

This change is actually incorrect. Entity ID's are optional (for example an area can be provided instead).

@frenck frenck closed this Jan 7, 2020
@probot-home-assistant probot-home-assistant Bot removed needs-rebase The PR has been branched of the wrong base branch or targets an incorrect target branch in-progress This PR/Issue is currently being worked on labels Jan 7, 2020
@fhoekstra
Copy link
Copy Markdown
Contributor Author

Thanks for your responses @frenck !
I will make a new pull request for current where I change the docs through a 'replace all' to reflect that for every service that has an entity_id argument, either an area or entity_id must be provided.

@fhoekstra
Copy link
Copy Markdown
Contributor Author

Made a new PR for current. Look forward to your comments on that one!
#11749 is the number

@fhoekstra fhoekstra deleted the fhoekstra-ent-id-all branch June 23, 2020 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

has-parent This PR has a parent PR in another repo next This PR goes into the next branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants