Zum Inhalt springen
Kitbay

home-assistant-yaml-style

CC-BY-NC-SA-4.0Aktualisiert am 19. Nov. 202610.212GitHub-Sterne

This skill from the repository behind the Home Assistant website sets the rules for YAML examples in the documentation, such as automation and script examples, action calls, templates and configuration snippets.

Was der Skill vermittelt

This skill from the repository behind the Home Assistant website sets the rules for YAML examples in the documentation, such as automation and script examples, action calls, templates and configuration snippets. It asks for two-space indentation, true and false rather than other truthy words, block-style lists and mappings, double-quoted strings, literal or folded blocks instead of escaped newlines, implicit nulls and lines of at most 80 characters inside code blocks, along with conventions for comments. An agent applies it when writing or reviewing examples for the documentation.

Funktionen

  • Format YAML examples to Home Assistant's documentation style
  • Review automation and script snippets for style issues