From efa91710eb25c09bb545c5f11b38329aff7882d9 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 18 Nov 2016 17:08:05 +0000 Subject: [PATCH] Site updated at 2016-11-18 17:08:04 UTC --- atom.xml | 2 +- blog/categories/community/atom.xml | 2 +- blog/categories/device-tracking/atom.xml | 2 +- blog/categories/esp8266/atom.xml | 2 +- blog/categories/how-to/atom.xml | 2 +- blog/categories/ibeacons/atom.xml | 2 +- blog/categories/internet-of-things/atom.xml | 2 +- blog/categories/iot-data/atom.xml | 2 +- blog/categories/micropython/atom.xml | 2 +- blog/categories/mqtt/atom.xml | 2 +- blog/categories/organisation/atom.xml | 2 +- blog/categories/owntracks/atom.xml | 2 +- blog/categories/presence-detection/atom.xml | 2 +- .../public-service-announcement/atom.xml | 2 +- blog/categories/release-notes/atom.xml | 2 +- blog/categories/survey/atom.xml | 2 +- blog/categories/talks/atom.xml | 2 +- blog/categories/technology/atom.xml | 2 +- blog/categories/user-stories/atom.xml | 2 +- blog/categories/video/atom.xml | 2 +- blog/categories/website/atom.xml | 2 +- components/input_slider/index.html | 44 +++++++++++++++++++ sitemap.xml | 30 ++++++------- 23 files changed, 80 insertions(+), 36 deletions(-) diff --git a/atom.xml b/atom.xml index 4dec65d4a7..4740e086ad 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index a20bc49cce..0f1462d80a 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index a72a5cda5d..8367658bf2 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index c9b8859940..c2b7bec3e5 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index b4bb617749..21ec577bc5 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index e4db39c1b2..572218ef51 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+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 04d25d248d..6dd66c3ee5 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 5ef84ed6f6..69d49702c4 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 1c5a34f518..5c259634f1 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index 5e5fe8dbea..033298ee95 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index d253ef9285..376c5d5490 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index f529773ae3..f181423a33 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index 488d6a9d37..f1b7ecd3b9 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+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 a6fd28ac77..26e3178e79 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 19d954a773..cc7a6bf47c 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index 3a6758a8fa..15839faf7e 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index 8ae6d3fbd9..7a5ad1c062 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 00ab2e03d0..3a229aaa5e 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 46bd1f5c55..f512e4f2a2 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-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index 9d0ddd2b66..2ca5fd7071 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index f16f171d3a..d4db5a1b02 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2016-11-17T21:41:26+00:00 + 2016-11-18T17:06:07+00:00 https://home-assistant.io/ diff --git a/components/input_slider/index.html b/components/input_slider/index.html index 269b5b20f3..aad471d704 100644 --- a/components/input_slider/index.html +++ b/components/input_slider/index.html @@ -190,6 +190,50 @@ +

Exampleof input_slider being used in a bidirectional manner, both being set by and controlled by an MQTT action in an automation.

+ +

+# Example configuration.yaml entry using 'input_slider' in an action in an automation
+   
+# Define input_slider
+input_slider:
+  target_temp:
+    name: Target Heater Temperature Slider
+    min: 1
+    max: 30
+    step: 1
+    unit_of_measurement: step  
+    icon: mdi:target
+
+# Automation.     
+ # This automation script runs when a value is received via MQTT on retained topic: setTemperature
+ # It sets the value slider on the GUI. This slides also had its own automation when the value is changed.
+- alias: Set temp slider
+  trigger:
+    platform: mqtt
+    topic: "setTemperature"
+   # entity_id: input_slider.target_temp
+  action:
+     service: input_slider.select_value
+     data_template:
+      entity_id: input_slider.target_temp
+      value: '{{ trigger.payload}}'
+
+ # This automation script runs when the target temperature slider is moved.
+ # It publishes its value to the same MQTT topic it is also subscribed to.
+- alias: Temp slider moved
+  trigger:
+    platform: state
+    entity_id: input_slider.target_temp
+  action:
+    service: mqtt.publish
+    data_template:
+      topic: "setTemperature"
+      retain: true
+      payload: '{{ states.input_slider.target_temp.state | int }}'
+
+
+
diff --git a/sitemap.xml b/sitemap.xml index 17c8d1d50f..c425772f44 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2309,62 +2309,62 @@ https://home-assistant.io/demo/frontend.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/index.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00 https://home-assistant.io/static/mdi-demo.html -2016-11-17T21:40:37+00:00 +2016-11-18T17:05:24+00:00