diff --git a/_config.yml b/_config.yml index e8cc29709d7..cd6cdf36d3b 100644 --- a/_config.yml +++ b/_config.yml @@ -142,13 +142,13 @@ social: # Home Assistant release details current_major_version: 0 current_minor_version: 75 -current_patch_version: 0 -date_released: 2018-08-03 +current_patch_version: 1 +date_released: 2018-08-04 # Either # or the anchor link to latest release notes in the blog post. # Must be prefixed with a # and have double quotes around it. # Major release: -patch_version_notes: "#" +patch_version_notes: "#release-0751---august-4" # Minor release (Example #release-0431---april-25): # Date we moved to Discourse for comments diff --git a/source/_addons/configurator.markdown b/source/_addons/configurator.markdown index a475a9edc4b..b5956384ba9 100644 --- a/source/_addons/configurator.markdown +++ b/source/_addons/configurator.markdown @@ -2,7 +2,7 @@ layout: page title: "HASS Configurator" description: "Browser-based configuration file editor for Home Assistant." -date: 2017-09-25 14:00 +date: 2018-07-16 14:00 sidebar: true comments: false sharing: true @@ -22,16 +22,17 @@ Screenshot of the HASS Configurator. ### {% linkable_title Feature list %} -- Web-based editor to modify your files with syntax highlighting. +- Web-based editor to modify your files with syntax highlighting and YAML linting. - Upload and download files. -- Stage and commit changes in Git repositories, create and switch between branches, push to remotes. -- Lists of available triggers, events, entities, conditions and services. The selected element gets inserted into the editor at the last cursor position. +- Stage, stash and commit changes in Git repositories, create and switch between branches, push to remotes, view diffs. +- Lists with available entities, triggers, events, conditions and services. - Restart Home Assistant directly with the click of a button. Reloading groups, automations, etc. can be done as well. An API password is required. - SSL/TLS support. - Optional authentication and IP filtering for added security. - Direct links to Home Assistant documentation and icons. - Execute shell commands within the add-on container. - Editor settings are saved in your browser. +- And much more... ### {% linkable_title Add-on Configuration %} @@ -39,27 +40,44 @@ Screenshot of the HASS Configurator. { "username": "admin", "password": "secret", + "ssl": false, "certfile": "fullchain.pem", "keyfile": "privkey.pem", - "ssl": false, - "allowed_networks": ["192.168.0.0/16"], - "banned_ips": ["8.8.8.8"], + "verify_hostname": false, + "allowed_networks": [ + "192.168.0.0/16", + "172.30.0.0/16" + ], + "banned_ips": [ + "8.8.8.8" + ], "banlimit": 0, - "ignore_pattern": ["__pycache__"], + "ignore_pattern": [ + "__pycache__" + ], "dirsfirst": false, - "sesame": "somesecretnobodycanguess" + "enforce_basepath": false, + "notify_service": "persistent_notification.create", + "ignore_ssl": false } ``` - **username** (*Required*): Set a username to access your configuration is protected. - **password** (*Required*): Set a password for access. -- **ssl** (*Optional*): Enable or Disable SSL/TLS for the editor. -- **allowed_networks** (*Optional*): Limit access to the configurator by adding allowed IP addresses/networks to the list. -- **banned_ips** (*Optional*): List of statically banned IP addresses. -- **banlimit** (*Optional*): Ban access from IPs after `banlimit` failed login attempts. The default value `0` disables this feature. Restart the add-on to clear the list of banned IP addresses. -- **ignore_pattern** (*Optional*): Files and folders to ignore in the UI. -- **dirsfirst** (*Optional*): List directories before files in the file browser. -- **sesame** (*Optional*): Secret token to dynamically allow access from the IP the request originates from. Open your bookmark https://hassio.yourdomain.com:8123/somesecretnobodycanguess while `allowed_networks` is set to `[]` and boom! Open Sesame! You can use the _Network status_ menu to revoke IP addresses for which access has been granted. +- **ssl** (*Required*): Enable or Disable SSL/TLS for the editor. +- **certfile** (*Required*): Set the path the your SSL certificate if the ssl-option is set to `true`. +- **keyfile** (*Required*): Set the path the your SSL private key if the ssl-option is set to `true`. +- **allowed_networks** (*Required*): Limit access to the configurator by adding allowed IP addresses/networks to the list. +- **banned_ips** (*Required*): List of statically banned IP addresses. +- **banlimit** (*Required*): Ban access from IPs after `banlimit` failed login attempts. The default value `0` disables this feature. Restart the add-on to clear the list of banned IP addresses. +- **ignore_pattern** (*Required*): Files and folders to ignore in the UI. +- **dirsfirst** (*Required*): List directories before files in the file browser. +- **enforce_basepath** (*Required*): If set to `true`, access is limited to files within the `/config` directory. +- **notify_service** (*Required*): Specify a custom notify-service to be used to push notifications. +- **ignore_ssl** (*Required*): Ignore SSL errors when accessing the Home Assistant API. +- **sesame** (*Optional*): Secret token to dynamically allow access from the IP the request originates from. Open your bookmark https://hassio.yourdomain.com:8123/somesecretnobodycanguess while `allowed_networks` is set to `[]` and your IP will get whitelisted. You can use the _Network status_ menu to revoke IP addresses for which access has been granted. Regular authentication is still required. +- **sesame_totp_secret** (*Optional*): Like the `sesame` option, but instead as Base32 encoded secret string must be provided. This string then can be added to a TOTP App like Google Authenticator. This way you get a 6-digit `sesame` that changes every 30 seconds. +- **loglevel** (*Optional*): You can change the logging level from the default value `info` if you want to. Valid values are: `debug`, `info`, `warning`, `error`, `critical`.
Be careful when setting up port forwarding to the configurator while embedding into Home Assistant. If you don't restrict access by requiring authentication and/or blocking based on client IP addresses, your configuration will be exposed to the internet!
diff --git a/source/_components/sensor.alpha_vantage.markdown b/source/_components/sensor.alpha_vantage.markdown
index 25714dd5cc0..8b21b309732 100644
--- a/source/_components/sensor.alpha_vantage.markdown
+++ b/source/_components/sensor.alpha_vantage.markdown
@@ -24,12 +24,12 @@ sensor:
- platform: alpha_vantage
api_key: YOUR_API_KEY
symbols:
- - symbol: GOOGL
- name: Google
+ - symbol: GOOGL
+ name: Google
foreign_exchange:
- - name: USD_EUR
- from: USD
- to: EUR
+ - name: USD_EUR
+ from: USD
+ to: EUR
```
Either a symbol or a foreign exchange must be configured, otherwise you will not get any data.
diff --git a/source/_components/sensor.dsmr.markdown b/source/_components/sensor.dsmr.markdown
index 8ead92afc41..a4df6c3f187 100644
--- a/source/_components/sensor.dsmr.markdown
+++ b/source/_components/sensor.dsmr.markdown
@@ -60,8 +60,8 @@ sensor:
description: "Host to which Smartmeter is connected (default: '' (connected via serial or USB, see **port**)). For remote connections, use IP address of host to connect to (i.e. 192.168.1.13)."
required: false
type: string
- name:
- description: "Version of DSMR used by meter. Choices: 2.2, 3, 4, 5. Defaults to 2.2."
+ dsmr_version:
+ description: "Version of DSMR used by meter. Choices: 2.2, 4, 5. Defaults to 2.2."
required: false
type: string
{% endconfiguration %}
diff --git a/source/_components/sensor.miflora.markdown b/source/_components/sensor.miflora.markdown
index 5149ba21191..85ad3cd03b5 100644
--- a/source/_components/sensor.miflora.markdown
+++ b/source/_components/sensor.miflora.markdown
@@ -46,6 +46,8 @@ $ bluetoothctl
[NEW] C4:D3:8C:12:4C:57 Flower mate
```
+If you can't use `hcitool` or `bluetoothctl` but have access to an Android phone you can try `BLE Scanner` or similar scanner applications from the Play Store to easily find your sensor MAC address.
+
# Configure
To use your Mi Flora plant sensor in your installation, add the following to your `configuration.yaml` file:
diff --git a/source/_components/sensor.moon.markdown b/source/_components/sensor.moon.markdown
index 8b90dc0a44b..d80c1068988 100644
--- a/source/_components/sensor.moon.markdown
+++ b/source/_components/sensor.moon.markdown
@@ -24,4 +24,4 @@ sensor:
- platform: moon
```
This sensor will return one of the following values:
-`New moon`, `Waxing crescent`, `First quarter`, `Waxing gibbous`, `Full moon`, `Waning gibbous`, `Last quarter` or `Waning crescent` .
+`new_moon`, `waxing_crescent`, `first_quarter`, `waxing_gibbous`, `full_moon`, `waning_gibbous`, `last_quarter` or `waning_crescent` .
diff --git a/source/_components/telegram_bot.markdown b/source/_components/telegram_bot.markdown
index 32397d0fbee..ecbfa306596 100644
--- a/source/_components/telegram_bot.markdown
+++ b/source/_components/telegram_bot.markdown
@@ -97,7 +97,7 @@ Send a location.
|---------------------------|----------|--------------------------------------------------|
| `latitude` | no | The latitude to send. |
| `longitude` | no | The longitude to send. |
-| `target` | yes | An array of pre-authorized chat_ids or user_ids to send the notification to. Defaults to the first allowed chat_id. |
+| `target` | yes | An array of pre-authorized chat_ids or user_ids to send the notification to. Defaults to the first allowed `chat_id`. |
| `disable_notification` | yes | True/false for send the message silently. iOS users and web users will not receive a notification, Android users will receive a notification with no sound. Defaults to False. |
| `keyboard` | yes | List of rows of commands, comma-separated, to make a custom keyboard. Example: `["/command1, /command2", "/command3"]` |
| `inline_keyboard` | yes | List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: `["/button1, /button2", "/button3"]` or `[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]` |
@@ -108,7 +108,7 @@ Edit a previously sent message in a conversation.
| Service data attribute | Optional | Description |
|---------------------------|----------|--------------------------------------------------|
-| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: `{{ trigger.event.data.message.message_id }}`. You can use `"last"` to refer to the last message sent to `chat_id`. |
+| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: {% raw %}`{{ trigger.event.data.message.message_id }}`{% endraw %}. You can use `"last"` to refer to the last message sent to `chat_id`. |
| `chat_id` | no | The chat_id where to edit the message. |
| `message` | no | Message body of the notification. |
| `title` | yes | Optional title for your notification. Will be composed as '%title\n%message'. |
@@ -122,7 +122,7 @@ Edit the caption of a previously sent message.
| Service data attribute | Optional | Description |
|---------------------------|----------|--------------------------------------------------|
-| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: `{{ trigger.event.data.message.message_id }}`. You can use `"last"` to refer to the last message sent to `chat_id`. |
+| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: {% raw %}`{{ trigger.event.data.message.message_id }}`{% endraw %}. You can use `"last"` to refer to the last message sent to `chat_id`. |
| `chat_id` | no | The chat_id where to edit the caption. |
| `caption` | no | Message body of the notification. |
| `disable_web_page_preview`| yes | True/false for disable link previews for links in the message. |
@@ -134,7 +134,7 @@ Edit the inline keyboard of a previously sent message.
| Service data attribute | Optional | Description |
|---------------------------|----------|--------------------------------------------------|
-| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: `{{ trigger.event.data.message.message_id }}`. You can use `"last"` to refer to the last message sent to `chat_id`. |
+| `message_id` | no | Id of the message to edit. When answering a callback from a pressed button, the id of the origin message is in: {% raw %}`{{ trigger.event.data.message.message_id }}`{% endraw %}. You can use `"last"` to refer to the last message sent to `chat_id`. |
| `chat_id` | no | The chat_id where to edit the reply_markup. |
| `disable_web_page_preview`| yes | True/false for disable link previews for links in the message. |
| `inline_keyboard` | yes | List of rows of commands, comma-separated, to make a custom inline keyboard with buttons with associated callback data. Example: `["/button1, /button2", "/button3"]` or `[[["Text btn1", "/button1"], ["Text btn2", "/button2"]], [["Text btn3", "/button3"]]]` |
@@ -146,7 +146,7 @@ Respond to a callback query originated by clicking on an online keyboard button.
| Service data attribute | Optional | Description |
|---------------------------|----------|--------------------------------------------------|
| `message` | no | Unformatted text message body of the notification. |
-| `callback_query_id` | no | Unique id of the callback response. In the `telegram_callback` event data: `{{ trigger.event.data.id }}` |
+| `callback_query_id` | no | Unique id of the callback response. In the `telegram_callback` event data: {% raw %}`{{ trigger.event.data.id }}`{% endraw %} |
| `show_alert` | yes | True/false for show a permanent notification. Defaults to False. |
### {% linkable_title Service `telegram_bot.delete_message` %}
@@ -154,7 +154,7 @@ Delete a previously sent message in a conversation.
| Service data attribute | Optional | Description |
|---------------------------|----------|--------------------------------------------------|
-| `message_id` | no | Id of the message to delete. When answering a callback from a pressed button, the id of the origin message is in: `{{ trigger.event.data.message.message_id }}`. You can use `"last"` to refer to the last message sent to `chat_id`. |
+| `message_id` | no | Id of the message to delete. When answering a callback from a pressed button, the id of the origin message is in: {% raw %}`{{ trigger.event.data.message.message_id }}`{% endraw %}. You can use `"last"` to refer to the last message sent to `chat_id`. |
| `chat_id` | no | The chat_id where to delete the message. |
## {% linkable_title `telegram` notification platform %}
@@ -172,7 +172,7 @@ notify:
## {% linkable_title Event triggering %}
-A command looks like `/thecommand`, or `/othercommand with some args`.
+A command looks like `/thecommand` or `/othercommand with some args`.
When received by Home Assistant it will fire a `telegram_command` event on the event bus with the following `event_data`:
diff --git a/source/_components/tuya.markdown b/source/_components/tuya.markdown
index a51c170dbff..75b6aecf699 100644
--- a/source/_components/tuya.markdown
+++ b/source/_components/tuya.markdown
@@ -28,7 +28,7 @@ tuya:
{% configuration %}
username:
- description: Your username to login to Tuya.
+ description: Your username to login to Tuya. This may be your phone number.
required: true
type: string
password:
@@ -36,7 +36,7 @@ password:
required: true
type: string
country_code:
- description: Your account country code (i.e.,1 for USA and 86 for China).
+ description: "Your account [country code](https://www.countrycode.org/) (e.g., 1 for USA or 86 for China)."
required: true
type: string
{% endconfiguration %}
diff --git a/source/_docs/z-wave/services.markdown b/source/_docs/z-wave/services.markdown
index 4a3fa92f26c..8b8d9d32276 100644
--- a/source/_docs/z-wave/services.markdown
+++ b/source/_docs/z-wave/services.markdown
@@ -35,7 +35,7 @@ The `zwave` component exposes multiple services to help maintain the network. Al
| stop_network | Stops the Z-Wave network. |
| test_network | Tells the controller to send no-op commands to each node and measure the time for a response. In theory, this can also bring back nodes which have been marked "presumed dead." |
| test_node | Tells the controller to send no-op command(s) to a specific node. Requires `node_id` field. You can specify amount of test_messages to send by specifying it with `messages` field. In theory, this could bring back nodes marked as "presumed dead"
-| update_config | Attempt to update OZW configuration files from git to support newer devices. After you run this, wait a few minutes then stop Home Assistant. You can now back up your `zwcfg_*.xml` file, then delete the relevant entries from your `zwcfg_*.xml` (between `
Split configuration is currently possible directly in Lovelace, but it
is expected to be removed in the near future due to fact that Home Assistant
@@ -54,10 +58,11 @@ mobile browser. (@Toast)
[@dale3h]: https://github.com/dale3h
[@thomasloven]: https://github.com/thomasloven
-
+[@skalavala]: https://github.com/skalavala
[config-generator]: https://github.com/thomasloven/homeassistant-lovelace-gen
[header-stacks]: https://gist.github.com/dale3h/37b34aebb0c336ffd5fb877c2651097a
[horizontal-stack]: /lovelace/horizontal-stack/
[migration-script]: https://github.com/dale3h/python-lovelace
[picture-elements]: /lovelace/picture-elements/
[vertical-stack]: /lovelace/vertical-stack/
+[lovelace-jinja]: https://sharethelove.io/tools/jinja-magic-scripts