From b62bb547df060fb83770bab435102dff10602210 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 11 Apr 2022 09:00:11 +0200 Subject: [PATCH] Improve GitHub action (#2364) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add YAML linter * Drop GitHub registry login as its not required at this point * Add YAML document start marker * Fix YAMLlint issues * Fix YAMLlint issues in .github yaml files * Fix YAMLlint issue in .github/dependabot.yml * Remove .github/move.yml * Set dependabot to weekly Co-authored-by: Joakim Sørensen * Use YAML strip option where appropriate * Fix multiline string Co-authored-by: Joakim Sørensen --- tellstick/build.yaml | 1 + tellstick/config.yaml | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tellstick/build.yaml b/tellstick/build.yaml index 899803f..fbaf8f5 100644 --- a/tellstick/build.yaml +++ b/tellstick/build.yaml @@ -1,3 +1,4 @@ +--- build_from: aarch64: ghcr.io/home-assistant/aarch64-base:3.13 amd64: ghcr.io/home-assistant/amd64-base:3.13 diff --git a/tellstick/config.yaml b/tellstick/config.yaml index 29f5ad4..a491373 100644 --- a/tellstick/config.yaml +++ b/tellstick/config.yaml @@ -1,3 +1,4 @@ +--- version: 2.1.0 slug: tellstick name: TellStick @@ -30,9 +31,12 @@ schema: fade: str? house: str? id: int(1,) - model: match(codeswitch|bell|selflearning-switch|selflearning-dimmer|selflearning|ecosavers|kp100|temperaturehumidity|temperature)? + model: "match(codeswitch|bell|selflearning-switch|selflearning-dimmer|\ + selflearning|ecosavers|kp100|temperaturehumidity|temperature)?" name: str - protocol: match(arctech|brateck|comen|everflourish|fineoffset|fuhaote|hasta|ikea|kangtai|mandolyn|oregon|risingsun|sartano|silvanchip|upm|waveman|x10|yidong) + protocol: "match(arctech|brateck|comen|everflourish|fineoffset|fuhaote|\ + hasta|ikea|kangtai|mandolyn|oregon|risingsun|sartano|\ + silvanchip|upm|waveman|x10|yidong)" unit: str? startup: system stdin: true