Update before release
This commit is contained in:
18
.github/workflows/publish_on_release.yml
vendored
18
.github/workflows/publish_on_release.yml
vendored
@@ -1,18 +0,0 @@
|
|||||||
name: Publish Node.js Package
|
|
||||||
on:
|
|
||||||
release:
|
|
||||||
types: [published]
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
# Setup .npmrc file to publish to npm
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '12.x'
|
|
||||||
registry-url: 'https://registry.npmjs.org'
|
|
||||||
- run: npm install
|
|
||||||
- run: npm publish
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
@@ -6,6 +6,7 @@ This is a module to display [Home Assistant](https://www.home-assistant.io/) inf
|
|||||||
Templates allow you to output virtually any HTML you want to in the contents of the module. It allows you to use the standard Jinja2 templating engine along with all of the Home Assistant custom template functions to be able to format the output of the module in whatever way you want to display it.
|
Templates allow you to output virtually any HTML you want to in the contents of the module. It allows you to use the standard Jinja2 templating engine along with all of the Home Assistant custom template functions to be able to format the output of the module in whatever way you want to display it.
|
||||||
|
|
||||||
# Table of Contents
|
# Table of Contents
|
||||||
|
* [How to use](#how-to-use)
|
||||||
* [Features](#features)
|
* [Features](#features)
|
||||||
* [Configuration Options](#configuration-options)
|
* [Configuration Options](#configuration-options)
|
||||||
* [Module Configuration Options](#module-configuration-options)
|
* [Module Configuration Options](#module-configuration-options)
|
||||||
@@ -26,6 +27,11 @@ Templates allow you to output virtually any HTML you want to in the contents of
|
|||||||
* Targeted rerender of templates only on state change of watched entity.
|
* Targeted rerender of templates only on state change of watched entity.
|
||||||
* Material Design icons embeded in module to use with output.
|
* Material Design icons embeded in module to use with output.
|
||||||
|
|
||||||
|
### How to use
|
||||||
|
1. Clone this repo into your Magic Mirrors modules directory with the following command: git clone https://github.com/wonderslug/MMM-HomeAssistantDisplay.git.
|
||||||
|
2. Install all the npm modules with *npm install*.
|
||||||
|
3. Update your Magic Mirror Configto setup a Module Instance. See the configuration options and examples below.
|
||||||
|
|
||||||
### Configuration Options
|
### Configuration Options
|
||||||
#### Module Configuration Options
|
#### Module Configuration Options
|
||||||
| Option | Description |
|
| Option | Description |
|
||||||
|
|||||||
Reference in New Issue
Block a user