Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unify action headings#41947

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
mik-laj wants to merge4 commits intohome-assistant:current
base:current
Choose a base branch
Loading
frommik-laj:unify-action-headers

Conversation

@mik-laj
Copy link
Contributor

Proposed change

This PR cleans up the action documentation across multiple integrations to follow a consistent pattern.

What was changed

  • Updated action headings to the### Action \`domain.action_name` format (e.g.### Action `abode.change_setting`instead of### Action: Change setting or bare`blink.record`).
  • Ensured each integration uses the full namespaced action ID in headings and “available actions” lists (for exampleamcrest.enable_audio,aftership.add_tracking,guardian.upgrade_firmware, etc.). It wasn't my main goal, but if I noticed a problem, I corrected it.
  • Added or normalized## Actions sections where they were missing or inconsistent.
  • Updated the integration docs template and Copilot instructions so new docs follow the same convention.

Why

  • Makes it easier for users to copy-paste the correct action ID directly from the docs into automations/scripts.
  • Aligns existing integration pages with the current action naming conventions used in Home Assistant.
  • Reduces confusion between generic section titles and the actual action IDs exposed by integrations.
  • Improved scalability and navigation: using a consistentAction `domain.id` heading format makes it easier to search for a specific action (both for users and tooling), to link directly to it, and to keep a growing set of actions maintainable.

Future improvements

The additional reason for standardizing these headings now is to unlock better automation later.
With a consistent### Action \domain.action_name `` pattern, it becomes feasible to add CI checks that verify the code and documentation stay in sync (e.g., every exposed action has a corresponding section).

Those checks arenot part of this PR, but the unified headings make it easier in future.

Type of change

  • Spelling, grammar or other readability improvements (current branch).
  • Adjusted missing or incorrect information in the current documentation (current branch).
  • Added documentation for a new integration I'm adding to Home Assistant (next branch).
  • Added documentation for a new feature I'm adding to Home Assistant (next branch).
  • Removed stale or deprecated documentation.

Additional information

  • Link to parent pull request in the codebase:
  • Link to parent pull request in the Brands repository:
  • This PR fixes or closes issue: fixes #

Checklist

  • This PR uses the correct branch, based on one of the following:
    • I made a change to the existing documentation and used thecurrent branch.
    • I made a change that is related to an upcoming version of Home Assistant and used thenext branch.
  • The documentation follows the Home Assistant documentationstandards.

@home-assistanthome-assistantbot added the currentThis PR goes into the current branch labelNov 24, 2025
@netlify
Copy link

netlifybot commentedNov 24, 2025
edited
Loading

Deploy Preview forhome-assistant-docs ready!

NameLink
🔨 Latest commit29481d8
🔍 Latest deploy loghttps://app.netlify.com/projects/home-assistant-docs/deploys/6924739bc3e30e0008e0d3be
😎 Deploy Previewhttps://deploy-preview-41947--home-assistant-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify project configuration.

Copy link
Contributor

@c0ffeeca7c0ffeeca7 left a comment

Choose a reason for hiding this comment

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

Nice! Love the idea of standardizing the titles ❤️
However, the idea was to have a non-YAML title, and then show the YAML in the intro. See example here:
https://github.com/home-assistant/home-assistant.io/blob/current/source/_integrations/_integration_docs_template.markdown?plain=1#L139

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@c0ffeeca7c0ffeeca7c0ffeeca7 requested changes

@rohankapoorcomrohankapoorcomAwaiting requested review from rohankapoorcomrohankapoorcom will be requested when the pull request is marked ready for reviewrohankapoorcom is a code owner

@rytilahtirytilahtiAwaiting requested review from rytilahtirytilahti will be requested when the pull request is marked ready for reviewrytilahti is a code owner

@syssisyssiAwaiting requested review from syssisyssi will be requested when the pull request is marked ready for reviewsyssi is a code owner

@starkillerOGstarkillerOGAwaiting requested review from starkillerOGstarkillerOG will be requested when the pull request is marked ready for reviewstarkillerOG is a code owner

@hunterjmhunterjmAwaiting requested review from hunterjmhunterjm will be requested when the pull request is marked ready for reviewhunterjm is a code owner

@thecodethecodeAwaiting requested review from thecodethecode will be requested when the pull request is marked ready for reviewthecode is a code owner

@Kane610Kane610Awaiting requested review from Kane610Kane610 will be requested when the pull request is marked ready for reviewKane610 is a code owner

@timmo001timmo001Awaiting requested review from timmo001timmo001 will be requested when the pull request is marked ready for reviewtimmo001 is a code owner

@gjohansson-STgjohansson-STAwaiting requested review from gjohansson-STgjohansson-ST will be requested when the pull request is marked ready for reviewgjohansson-ST is a code owner

@bdracobdracoAwaiting requested review from bdracobdraco will be requested when the pull request is marked ready for reviewbdraco is a code owner

@allenporterallenporterAwaiting requested review from allenporterallenporter will be requested when the pull request is marked ready for reviewallenporter is a code owner

@DanielhiversenDanielhiversenAwaiting requested review from DanielhiversenDanielhiversen will be requested when the pull request is marked ready for reviewDanielhiversen is a code owner

@elupuselupusAwaiting requested review from elupuselupus will be requested when the pull request is marked ready for reviewelupus is a code owner

@joostlekjoostlekAwaiting requested review from joostlekjoostlek will be requested when the pull request is marked ready for reviewjoostlek is a code owner

@pvizelipvizeliAwaiting requested review from pvizelipvizeli will be requested when the pull request is marked ready for reviewpvizeli is a code owner

@preepreeAwaiting requested review from preepree will be requested when the pull request is marked ready for reviewpree is a code owner

@cgtobicgtobiAwaiting requested review from cgtobicgtobi will be requested when the pull request is marked ready for reviewcgtobi is a code owner

@ctalkingtonctalkingtonAwaiting requested review from ctalkingtonctalkington will be requested when the pull request is marked ready for reviewctalkington is a code owner

@Swamp-IgSwamp-IgAwaiting requested review from Swamp-IgSwamp-Ig will be requested when the pull request is marked ready for reviewSwamp-Ig is a code owner

@teharris1teharris1Awaiting requested review from teharris1teharris1 will be requested when the pull request is marked ready for reviewteharris1 is a code owner

@mib1185mib1185Awaiting requested review from mib1185mib1185 will be requested when the pull request is marked ready for reviewmib1185 is a code owner

@jbouwhjbouwhAwaiting requested review from jbouwhjbouwh will be requested when the pull request is marked ready for reviewjbouwh is a code owner

@bachyabachyaAwaiting requested review from bachyabachya will be requested when the pull request is marked ready for reviewbachya is a code owner

@tronikostronikosAwaiting requested review from tronikostronikos will be requested when the pull request is marked ready for reviewtronikos is a code owner

@cgarwoodcgarwoodAwaiting requested review from cgarwoodcgarwood will be requested when the pull request is marked ready for reviewcgarwood is a code owner

@dmulcaheydmulcaheyAwaiting requested review from dmulcaheydmulcahey will be requested when the pull request is marked ready for reviewdmulcahey is a code owner

@fabafffabaffAwaiting requested review from fabafffabaff will be requested when the pull request is marked ready for reviewfabaff is a code owner

@chemelli74chemelli74Awaiting requested review from chemelli74chemelli74 will be requested when the pull request is marked ready for reviewchemelli74 is a code owner

Copilot code reviewCopilotAwaiting requested review from CopilotCopilot will automatically review once the pull request is marked ready for review

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

currentThis PR goes into the current branch

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@mik-laj@c0ffeeca7

[8]ページ先頭

©2009-2025 Movatter.jp