diff --git a/source/_components/binary_sensor.google_calendar.markdown b/source/_components/calendar.google.markdown similarity index 100% rename from source/_components/binary_sensor.google_calendar.markdown rename to source/_components/calendar.google.markdown diff --git a/source/_components/calendar.markdown b/source/_components/calendar.markdown new file mode 100644 index 00000000000..f18e94902c3 --- /dev/null +++ b/source/_components/calendar.markdown @@ -0,0 +1,12 @@ +--- +layout: page +title: "Calendar" +description: "Instructions how to integrate calendars within Home Assistant." +date: 2016-11-19 08:36 +sidebar: true +comments: false +sharing: true +footer: true +--- + +The calendar component allows you to integrate your calendars into Home Assistant. diff --git a/source/_posts/2016-11-19-calendar--wink-thermostats--cisco-ios.markdown b/source/_posts/2016-11-19-calendar--wink-thermostats--cisco-ios.markdown index b15309f2f9c..6753e6b564b 100644 --- a/source/_posts/2016-11-19-calendar--wink-thermostats--cisco-ios.markdown +++ b/source/_posts/2016-11-19-calendar--wink-thermostats--cisco-ios.markdown @@ -14,31 +14,31 @@ For this release we put a lot of focus on finishing our async upgrade and fix a But a new release wouldn't be awesome if it didn't had some new goodies and this release is no different. This release includes a new calendar component by [@mnestor]. It comes now with Google Calendar support, which should allow you to automate things based on your calendar events! -## Changes +### {% linkable_title Changes %} - New [calendar component][google] including Google support ([@mnestor]) - Final core upgrade for async ([@pvizeli]) -- Neato refactor + sensor support ([@turbokongen]) +- [Neato] refactor + sensor support ([@turbokongen]) - Device Tracker: [Swisscom Internet-Box][swisscom] now supported ([@betrisey]) - Device Tracker - Locative: [Map support][locative] added ([@danijelst]) -- Emulated Hue: Option to sent request info as variables to scripts that get called ([@bah2830]) +- [Emulated Hue] will now sent request info as variables to scripts that get called ([@bah2830]) - Wink: [Thermostats][wink-climate] are now supported ([@w1ll1am23]) - Light: New [MQTT template][mqtt-template] platform for custom communication ([@Diaoul]) -- Wake on Lan switch can now configure a custom OFF script ([@Chris-V]) +- [Wake on Lan switch] can now configure a custom OFF script ([@Chris-V]) - Device Tracker: [Cisco IOS][cisco] now supported ([@fbradyirl]) - Sensor: Support for [PVOutput][pvoutput] snesor ([@fabaff]) - Sensor: Show count of connected clients to the [API stream][api-stream] ([@balloob]) - Fix platforms from doing I/O in the event loop ([@balloob], [@pvizeli], [@lwis], [@kellerza]) -- Switch - TP Link: Add daily consumption [TP Link switches][tp-link] ([@gonzalezcalleja]) -- Templates: Add new `strptime` function for parsing times ([@lwis]) -- HTTP: Fix X-Forwarded-For parsing (@[mweinelt]) -- Switch - Command Line: Use [configured object_id][command-line] for entity IDs ([@n8henrie]) -- MQTT: Support added for [birth and last will][mqtt-will] messages ([@bestlibre]) +- Switch - [TP Link]: Add daily consumption ([@gonzalezcalleja]) +- Templates: Add new `strptime` [template function] for parsing times ([@lwis]) +- [HTTP] component: Fix X-Forwarded-For parsing ([@mweinelt]) +- Switch - [Command Line]: Use configured object_id for entity IDs ([@n8henrie]) +- [MQTT] now supports birth and last will messages ([@bestlibre]) - Better handling of accented characters in slugify ([@magicus]) -- Alarm Control Panel - Envisalink: Add new [keypress service][envisalink] ([@jnimmo]) -- Light - Hue: Add service to [activate scenes][hue] defined in Hue app ([@sdague]) +- Alarm Control Panel - [Envisalink]: Add new keypress service ([@jnimmo]) +- Light - [Hue]: Add service to activate scenes defined in Hue app ([@sdague]) -## Breaking changes +### {% linkable_title Breaking changes %} - We have included a fix that impacts how we generate entity ids. This only impacts devices with accented characters. Instead of being stripped out, they are now replaced with the non-accented version. So now `Tèst Mörê` will become `test_more` instead of `tst_mr`. - Command line switches will now use the specified object ID for their entity ID instead of basing it off the name. @@ -65,17 +65,22 @@ But a new release wouldn't be awesome if it didn't had some new goodies and this [@turbokongen]: https://github.com/turbokongen [@w1ll1am23]: https://github.com/w1ll1am23 -[api-stream]: https://home-assistant.io/components/sensor.api_stream/ -[cisco]: https://home-assistant.io/components/device_tracker.cisco_ios/ -[command-line]: https://home-assistant.io/components/switch.command_line/ -[envisalink]: https://home-assistant.io/components/envisalink/ -[google]: https://home-assistant.io/components/sensor.google_calendar/ -[hue]: https://home-assistant.io/components/light.hue/ -[locative]: https://home-assistant.io/components/device_tracker.locative/ -[mqtt-template]: https://home-assistant.io/components/light.mqtt_template/ -[mqtt-will]: https://home-assistant.io/components/mqtt/ -[pvoutput]: https://home-assistant.io/components/sensor.pvoutput/ -[swisscom]: https://home-assistant.io/components/device_tracker.swisscom/ -[tp-link]: https://home-assistant.io/components/switch.tplink/ -[wink-climate]: https://home-assistant.io/components/climate.wink/ - +[api-stream]: /components/sensor.api_stream/ +[cisco]: /components/device_tracker.cisco_ios/ +[Command Line]: /components/switch.command_line/ +[Envisalink]: /components/envisalink/ +[google]: /components/calendar.google/ +[Hue]: /components/light.hue/ +[locative]: /components/device_tracker.locative/ +[mqtt-template]: /components/light.mqtt_template/ +[mqtt-will]: /components/mqtt/ +[pvoutput]: /components/sensor.pvoutput/ +[swisscom]: /components/device_tracker.swisscom/ +[TP Link]: /components/switch.tplink/ +[wink-climate]: /components/climate.wink/ +[neato]: /components/neato/ +[Emulated Hue]: /components/emulated_hue/ +[Wake on Lan switch]: /components/switch.wake_on_lan/ +[template function]: /topics/templating/#home-assistant-template-extensions +[HTTP]: /components/http/ +[MQTT]: /components/mqtt/ diff --git a/source/_topics/templating.markdown b/source/_topics/templating.markdown index 6aca8ed1ad0..55fa5c3fddb 100644 --- a/source/_topics/templating.markdown +++ b/source/_topics/templating.markdown @@ -77,11 +77,14 @@ Home Assistant adds extensions to allow templates to access all of the current s - `closest()` will find the closest entity. - `relative_time(timestamp)` will format the date time as relative time vs now (ie 7 seconds) - `float` will format the output as float. +- `strptime(string, format)` will parse a string to a datetime based on a [format][strp-format]. - Filter `round(x)` will convert the input to a number and round it to `x` decimals. - Filter `timestamp_local` will convert an UNIX timestamp to local time/data. - Filter `timestamp_utc` will convert an UNIX timestamp to UTC time/data. - Filter `timestamp_custom(format_string, local_boolean)` will convert an UNIX timestamp to a custom format, the use of a local timestamp is default, supporting [Python format options](https://docs.python.org/3/library/time.html#time.strftime). +[strp-format]: https://docs.python.org/3.4/library/datetime.html#strftime-and-strptime-behavior + ## {% linkable_title Examples %} ### {% linkable_title States %}