diff --git a/atom.xml b/atom.xml index dfd89d0df8..82b8401294 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 635613df37..abba7e76b5 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 6694d664b2..5ca89b9805 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index ebb102189f..c93c4b4f27 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 806978a312..19748ffdb0 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 309ca6ba53..59f8d7e843 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index da42c1c6da..db676a600a 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index f95b7ddcfe..c873b338a1 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index b5ed22fb8b..5b0dd83591 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index 5e014a12f0..10fb231cc5 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index 601e9f35cb..64facbfd34 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 7930392a2d..f4a4630706 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index a2f42f5279..01bc4cd991 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 526ca0786d..4b41e1cb6b 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 335e316882..d6d9df4aed 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 273bfaa4b3..06d6a46865 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index d23044e78f..1d1cda5ea3 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index aa4f393c6e..6541bb86c9 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 1186ebaae4..d3fb2ca9aa 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 55a51f60fe..fa85ebcf3a 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-08-15T04:35:51+00:00 + 2016-08-15T16:45:11+00:00 https://home-assistant.io/ diff --git a/developers/development_validation/index.html b/developers/development_validation/index.html index 92b93ba33a..9b7222c7cd 100644 --- a/developers/development_validation/index.html +++ b/developers/development_validation/index.html @@ -117,6 +117,8 @@

Default name

+

It’s common to set a default for a sensor if the user is not providing a name to use.

+
DEFAULT_NAME = 'Sensor name'
 
@@ -127,6 +129,20 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
 
+

Limit the values

+ +

In certain cases you want to limit the user’s input to a couple of options.

+ +
+
DEFAULT_METHOD = 'GET'
+
+PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
+    ...
+    vol.Optional(CONF_METHOD, default=DEFAULT_METHOD): vol.In(['POST', 'GET']),
+
+
+
+

Port

As all port numbers are coming out of the range 1 till 65535 a range check should be performed.

diff --git a/sitemap.xml b/sitemap.xml index c35f3722fe..0035985082 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2081,62 +2081,62 @@ https://home-assistant.io/demo/frontend.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/index.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/googlef4f3693c209fe788.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00 https://home-assistant.io/static/mdi-demo.html - 2016-08-15T04:35:11+00:00 + 2016-08-15T16:44:30+00:00