Skip to content

Commit 72c4d66

Browse files
committed
2 parents 3ea8618 + 609c330 commit 72c4d66

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

.github/workflows/hassfest.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Validate with hassfest
2+
3+
on:
4+
push:
5+
pull_request:
6+
schedule:
7+
- cron: "0 0 * * *"
8+
9+
jobs:
10+
validate:
11+
runs-on: "ubuntu-latest"
12+
steps:
13+
- uses: "actions/checkout@v3"
14+
- uses: home-assistant/actions/hassfest@master

.github/workflows/validate.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Validate
1+
name: Validate with HACS
22

33
on:
44
push:

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
# File-
2-
The File++ integration allows storing multi-line notifications in a file or setting up a sensor based on a file’s content.
1+
# File++
2+
Based on the Home Assistant Core Integrations [`File`](https://www.home-assistant.io/integrations/file/), I created a custom version that reads and writes **multi-line** content. I personally use this to load email-templates and store data larger than 255 characters (which is the max of a Text Helper (any entity for that matter)).
3+
4+
**Features:**
5+
- Use the `notify` service to write multi-line content to a local file
6+
- Use the `sensor` service to read multi-line content from a local file. The content is available in the `content` attribute of the sensor.
7+
8+
**Removed:**
9+
- No header is written to empty/new files

0 commit comments

Comments
 (0)