From 5a32375cc7c7a3f7bbf057c3f553752caf440f42 Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Sun, 16 Feb 2025 14:00:39 +0100 Subject: [PATCH] Drop outdated use of friendly_name from examples Ref: https://esphome.io/components/esphome.html#configuration-variables --- README.md | 2 +- example.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 44212b4..9b6a6d5 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ external_components: text_sensor: - platform: git_ref - name: "${friendly_name} Git Ref" + name: "Git Ref" long: true all: true abbrev: 16 diff --git a/example.yaml b/example.yaml index 92220ec..55022f5 100644 --- a/example.yaml +++ b/example.yaml @@ -8,7 +8,7 @@ esp32: board: wemos_d1_mini32 framework: type: arduino - + external_components: - source: github://RoboMagus/esphome-gitref-sensor @@ -26,8 +26,8 @@ ota: text_sensor: - platform: git_ref - name: "${friendly_name} Git Ref" + name: "Git Ref" long: true all: true abbrev: 16 - dirty: "-dirty" \ No newline at end of file + dirty: "-dirty"