Merge branch 'current' into next

This commit is contained in:
Franck Nijhof 2020-01-23 11:59:59 +01:00
commit 5832c572a7
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
6 changed files with 103 additions and 24 deletions

View File

@ -1,7 +1,8 @@
[![Discord](https://img.shields.io/discord/330944238910963714.svg)](https://discord.gg/CxqDrfU)
[![Krihelimeter](https://img.shields.io/badge/Krihelimeter-unknown-brightgreen.svg)](http://www.krihelinator.xyz)
[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-nc-sa/4.0/)
[![Deploys by netlify](https://www.netlify.com/img/global/badges/netlify-color-bg.svg)](https://www.netlify.com)
# Home Assistant website
This is the source for the [Home-Assistant.io website](https://home-assistant.io).

View File

@ -27,8 +27,11 @@
<div class='grid__item one-third lap-one-half palm-one-whole'>
Website powered by <a href='https://jekyllrb.com/'>Jekyll</a> and the
<a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.
Hosted by <a href='https://www.netlify.com/'>Netlify</a>.
<a href='https://github.com/coogie/oscailte'>Oscalite theme</a>.<br />
<br />
<a href="https://www.netlify.com">
<img src="/images/frontpage/netlify.svg"/>
</a>
</div>
</div>
</div>

View File

@ -112,4 +112,4 @@ Glances integration will add the following sensors:
- docker_cpu_use: The total CPU usage in percent of Docker containers.
- docker_memory_use: The total memory used by Docker containers.
Not all platforms are able to provide all metrics. For instance `cpu_temp` is requires installing and configuring `lmsensors` in Ubuntu, and may not be available at all in other platforms.
Not all platforms are able to provide all metrics. For instance `cpu_temp` requires installing and configuring `lmsensors` in Ubuntu, and may not be available at all in other platforms.

View File

@ -55,20 +55,20 @@ entity.
Remove a SimpliSafe PIN (by label or PIN value).
| Service Data Attribute | Optional | Description |
|---------------------------|----------|---------------------------------------------|
| `system_id` | no | The ID of a SimpliSafe system |
| `label_or_pin` | no | The PIN label or value to remove |
| Service Data Attribute | Optional | Description |
| ---------------------- | -------- | -------------------------------- |
| `system_id` | no | The ID of a SimpliSafe system |
| `label_or_pin` | no | The PIN label or value to remove |
### `simplisafe.set_pin`
Set a SimpliSafe PIN.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|---------------------------------------------|
| `system_id` | no | The ID of the system to remove the PIN from |
| `label` | no | The label to show in the SimpliSafe UI |
| `pin` | no | The PIN value to use |
| Service Data Attribute | Optional | Description |
| ---------------------- | -------- | ------------------------------------------- |
| `system_id` | no | The ID of the system to remove the PIN from |
| `label` | no | The label to show in the SimpliSafe UI |
| `pin` | no | The PIN value to use |
### `simplisafe.system_properties`
@ -81,14 +81,14 @@ For any property denoting a volume, the following values should be used:
* Medium: `2`
* High: `3`
| Service Data Attribute | Optional | Description |
|---------------------------|----------|------------------------------------------------------------------------------|
| `system_id` | no | The ID of a SimpliSafe system |
| `alarm_duration` | yes | The number of seconds a triggered alarm should sound |
| `chime_volume` | yes | The volume of the door chime |
| `entry_delay_away` | yes | The number of seconds to delay triggering when entering with an "away" state |
| `entry_delay_home` | yes | The number of seconds to delay triggering when entering with a "home" state |
| `exit_delay_away` | yes | The number of seconds to delay triggering when exiting with an "away" state |
| `exit_delay_home` | yes | The number of seconds to delay triggering when exiting with a "home" state |
| `light` | yes | Whether the light on the base station should display when armed |
| `voice_prompt_volume` | yes | The volume of the base station's voice prompts |
| Service Data Attribute | Optional | Description |
| ---------------------- | -------- | ---------------------------------------------------------------------------- |
| `system_id` | no | The ID of a SimpliSafe system |
| `alarm_duration` | yes | The number of seconds a triggered alarm should sound |
| `chime_volume` | yes | The volume of the door chime |
| `entry_delay_away` | yes | The number of seconds to delay triggering when entering with an "away" state |
| `entry_delay_home` | yes | The number of seconds to delay triggering when entering with a "home" state |
| `exit_delay_away` | yes | The number of seconds to delay triggering when exiting with an "away" state |
| `exit_delay_home` | yes | The number of seconds to delay triggering when exiting with a "home" state |
| `light` | yes | Whether the light on the base station should display when armed |
| `voice_prompt_volume` | yes | The volume of the base station's voice prompts |

View File

@ -84,3 +84,56 @@ profiles:
required: true
type: map
{% endconfiguration %}
## Bonus: Template Sensors to Convert Kilograms to Pounds
In a text editor, replace ```USER_PROFILE_NAME``` in the template sensors below with your withings User Profile Name defined in the Withings integration configuration.
{% raw %}
```yaml
# Example configuration.yaml entry
sensors:
- platform: template
sensors:
withings_weight_lbs_USER_PROFILE_NAME:
friendly_name: "withings weight_lbs_USER_PROFILE_NAME"
unit_of_measurement: 'lbs'
value_template: "{{ (states('sensor.withings_weight_kg_USER_PROFILE_NAME') | float * 2.20462262185) | round(2) }}"
icon_template: mdi:weight-pound
- platform: template
sensors:
withings_bone_mass_lbs_USER_PROFILE_NAME:
friendly_name: "withings bone_mass_lbs_USER_PROFILE_NAME"
unit_of_measurement: 'lbs'
value_template: "{{ (states('sensor.withings_bone_mass_kg_USER_PROFILE_NAME') | float * 2.20462262185) | round(2) }}"
icon_template: mdi:weight-pound
- platform: template
sensors:
withings_fat_free_mass_lbs_USER_PROFILE_NAME:
friendly_name: "withings fat_free_mass_lbs_USER_PROFILE_NAME"
unit_of_measurement: 'lbs'
value_template: "{{ (states('sensor.withings_fat_free_mass_kg_USER_PROFILE_NAME') | float * 2.20462262185) | round(2) }}"
icon_template: mdi:weight-pound
- platform: template
sensors:
withings_fat_mass_lbs_USER_PROFILE_NAME:
friendly_name: "withings fat_mass_lbs_USER_PROFILE_NAME"
unit_of_measurement: 'lbs'
value_template: "{{ (states('sensor.withings_fat_mass_kg_USER_PROFILE_NAME') | float * 2.20462262185) | round(2) }}"
icon_template: mdi:weight-pound
- platform: template
sensors:
withings_muscle_mass_lbs_USER_PROFILE_NAME:
friendly_name: "withings muscle_mass_lbs_USER_PROFILE_NAME"
unit_of_measurement: 'lbs'
value_template: "{{ (states('sensor.withings_muscle_mass_kg_USER_PROFILE_NAME') | float * 2.20462262185) | round(2) }}"
icon_template: mdi:weight-pound
```
{% endraw %}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 21 KiB