Merge branch 'rc' into next

This commit is contained in:
Paulus Schoutsen 2018-04-01 12:25:43 -07:00
commit f6e37ed46a
14 changed files with 161 additions and 129 deletions

View file

@ -120,7 +120,7 @@ When the `history` component queries the states table it only selects states whe
#### {% linkable_title On dates %}
SQLite databases do not support native dates. That's why all the dates are saved in seconds since the UNIX epoch. Convert them manually using this site or in Python:
SQLite databases do not support native dates. That's why all the dates are saved in seconds since the UNIX epoch. Convert them manually using [this site](https://www.epochconverter.com/) or in Python:
```python
from datetime import datetime

View file

@ -36,7 +36,6 @@ Configuration variables:
- **host** (*Optional*): IP address of the device, eg. 192.168.1.10. Required if not using the `discovery` component to discover Hue bridges.
- **allow_unreachable** (*Optional*): (true/false) This will allow unreachable bulbs to report their state correctly.
- **filename** (*Optional*): Make this unique if specifying multiple Hue hubs.
- **allow_in_emulated_hue** (*Optional*): (true/false) Enable this to block all Hue entities from being added to the `emulated_hue` component.
- **allow_hue_groups** (*Optional*): (true/false) Enable this to stop Home Assistant from importing the groups defined on the Hue bridge.
### {% linkable_title Migrating from older configuration %}

View file

@ -32,7 +32,7 @@ Most lights do not support all attributes. You can check the platform documentat
| `white_value` | yes | Integer between 0 and 255 for how bright a dedicated white LED should be.
| `color_temp` | yes | An integer in mireds representing the color temperature you want the light to be.
| `kelvin` | yes | Alternatively, you can specify the color temperature in Kelvin.
| `color_name` | yes | A human-readable string of a color name, such as `blue` or `goldenrod`. All [CSS3 color names](https://www.w3.org/TR/2010/PR-css3-color-20101028/#svg-color) are supported.
| `color_name` | yes | A human-readable string of a color name, such as `blue` or `goldenrod`. All [CSS3 color names](https://www.w3.org/TR/css-color-3/#svg-color) are supported.
| `brightness` | yes | Integer between 0 and 255 for how bright the color should be.
| `brightness_pct`| yes | Alternatively, you can specify brightness in percent (a number between 0 and 100).
| `flash` | yes | Tell light to flash, can be either value `short` or `long`.

View file

@ -55,7 +55,7 @@ brightness_value_template:
required: false
type: string
color_temp_command_topic:
description: The MQTT topic to publish commands to change the lights color temperature state. The color temperature command slider has a range of 157 to 500 mireds (micro reciprocal degrees).
description: The MQTT topic to publish commands to change the lights color temperature state. The color temperature command slider has a range of 154 to 500 mireds (micro reciprocal degrees).
required: false
type: string
color_temp_state_topic:
@ -95,12 +95,12 @@ payload_on:
description: The payload that represents enabled state.
required: false
type: string
default: ON
default: "ON"
payload_off:
description: The payload that represents disabled state.
required: false
type: string
default: OFF
default: "OFF"
qos:
description: The maximum QoS level of the state topic.
required: false

View file

@ -25,7 +25,7 @@ To enable this sensor, add the following lines to your `configuration.yaml`.
```yaml
sensor:
- platform: trafikverket_weatherstations
- platform: trafikverket_weatherstation
name: Trafikverket Road WeatherStation Kungälv
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Kungälv
@ -72,12 +72,12 @@ Click [here](https://www.trafikverket.se/trafikinformation/vag/?TrafficType=pers
```yaml
sensor:
- platform: trafikverket_weatherstations
- platform: trafikverket_weatherstation
name: Trafikverket Road WeatherStation Kungälv
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Kungälv
type: road
- platform: trafikverket_weatherstations
- platform: trafikverket_weatherstation
name: Trafikverket Air WeatherStation Lanna
api_key: eXXcbXXXacXXXXc39XX3aXXX4aXX46XX
station: Lanna

View file

@ -8,25 +8,28 @@ comments: false
sharing: true
footer: true
ha_category: Sensor
logo: zillow.png
ha_release: 0.65
ha_iot_class: "Cloud Polling"
---
The `zestimate` sensor allows one to track the Zestimate value of properties using the [Zillow API](https://www.zillow.com/howto/api/APIOverview.htm).
## {% linkable_title Configuration %}
You will need to sign up for the Zillow API at the following link [Zillow API](https://www.zillow.com/howto/api/APIOverview.htm). You will also need the Zillow property ID for each property you'd like to track. This information is available from the URL of a property you are interested in.
For example, the White House zpid is 84074482 and can be found in it's Zillow URL: https://www.zillow.com/homedetails/1600-Pennsylvania-Ave-NW-Washington-DC-20006/84074482_zpid/
For example, the White House zpid is 84074482 and can be found in it's Zillow URL: [https://www.zillow.com/homedetails/1600-Pennsylvania-Ave-NW-Washington-DC-20006/84074482_zpid/](https://www.zillow.com/homedetails/1600-Pennsylvania-Ave-NW-Washington-DC-20006/84074482_zpid/)
To enable this sensor, add the following lines to your `configuration.yaml`.
```yaml
sensor:
- platform: zestimate
api_key: API_KEY
api_key: YOUR_API_KEY
zpid:
- <your zpid 1>
- <your zpid 2>
- YOUR_ZPID_1
- YOUR_ZPID_2
```
{% configuration %}
@ -40,7 +43,7 @@ zpid:
type: list
{% endconfiguration %}
### Additional Attributes
### {% linkable_title Additional Attributes %}
The following additional attributes are also available via the sensor.

View file

@ -75,6 +75,10 @@ switch:
description: Defines a template for the icon of the switch.
required: false
type: template
entity_picture_template:
description: Defines a template for the picture of the switch.
required: false
type: template
{% endconfiguration %}
## {% linkable_title Considerations %}