diff --git a/Rakefile b/Rakefile index ab732ac3f4f..fbfc5959bd4 100644 --- a/Rakefile +++ b/Rakefile @@ -30,8 +30,6 @@ task :generate do abort("Generating alerts data failed") unless success success = system "rake version_data" abort("Generating version data failed") unless success - success = system "rake blueprint_exchange_data" - abort("Generating blueprint exchange data failed") unless success success = system "jekyll build" abort("Generating site failed") unless success if ENV["CONTEXT"] != 'production' @@ -70,7 +68,6 @@ task :preview, :listen do |t, args| system "rake analytics_data" system "rake version_data" system "rake alerts_data" - system "rake blueprint_exchange_data" jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build -t --watch --incremental") compassPid = Process.spawn("compass watch") rackupPid = Process.spawn("rackup --port #{server_port} --host #{listen_addr}") @@ -116,14 +113,3 @@ task :version_data do file.write(JSON.generate(remote_data)) end end - -desc "Download data from the blueprint exchange @ community.home-assistant.io" -task :blueprint_exchange_data do - uri = URI('https://community.home-assistant.io/c/blueprints-exchange/53/l/top.json?period=all') - - remote_data = JSON.parse(Net::HTTP.get(uri)) - - File.open("#{source_dir}/_data/blueprint_exchange_data.json", "w") do |file| - file.write(JSON.generate(remote_data['topic_list']['topics'])) - end -end diff --git a/_config.yml b/_config.yml index abaee121aab..fc3021d2637 100644 --- a/_config.yml +++ b/_config.yml @@ -67,8 +67,6 @@ titlecase: true # Converts page and post titles to titlecase collections: integrations: output: true - examples: - output: true docs: output: true addons: diff --git a/package.json b/package.json index e14d8319a03..917ca212281 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,6 @@ "scripts": { "markdown:lint": "remark --quiet --frail .", "textlint:all": "textlint source", - "textlint": "textlint source/_examples source/_docs source/_faq source/_integrations source/_dashboards source/cloud source/getting-started source/hassio source/dashboards" + "textlint": "textlint source/_docs source/_faq source/_integrations source/_dashboards source/cloud source/getting-started source/hassio source/dashboards" } } diff --git a/source/_docs/configuration.markdown b/source/_docs/configuration.markdown index 080fb014545..dbee90a3ba9 100644 --- a/source/_docs/configuration.markdown +++ b/source/_docs/configuration.markdown @@ -87,4 +87,4 @@ For configuration changes to become effective, the configuration must be reloade ## Troubleshooting the configuration -If you run into trouble while configuring Home Assistant, refer to the [configuration troubleshooting page](/docs/configuration/troubleshooting/) and the [`configuration.yaml` examples](/examples/#example-configurationyaml). +If you run into trouble while configuring Home Assistant, refer to the [configuration troubleshooting page](/docs/configuration/troubleshooting/). diff --git a/source/_docs/configuration/splitting_configuration.markdown b/source/_docs/configuration/splitting_configuration.markdown index 582751ca0dd..4a4f9576d6e 100644 --- a/source/_docs/configuration/splitting_configuration.markdown +++ b/source/_docs/configuration/splitting_configuration.markdown @@ -4,8 +4,6 @@ description: "Splitting the configuration.yaml into several files." related: - docs: /docs/configuration/ title: configuration.yaml file - - docs: /examples/#example-configurationyaml - title: Example configuration files by the community - docs: /docs/configuration/packages title: Using packages to organize configuration files --- @@ -14,7 +12,7 @@ So you've been using Home Assistant for a while now and your {% term "`configura ## Example configuration files for inspiration -First off, several community members have sanitized (read: without API keys/passwords) versions of their configurations available for viewing. You can see a [list of example files here](/examples/#example-configurationyaml). +First off, several community members have sanitized (read: without API keys/passwords) versions of their configurations available for viewing. You can see a [list of example configuration on GitHub](https://github.com/search?q=topic%3Ahome-assistant-config&type=Repositories). As commenting code doesn't always happen, please read on to learn in detail how configuration files can be structured. diff --git a/source/_docs/frontend.markdown b/source/_docs/frontend.markdown index 12852b2891c..2b3cbcc678a 100644 --- a/source/_docs/frontend.markdown +++ b/source/_docs/frontend.markdown @@ -19,7 +19,3 @@ The frontend is built with [Polymer](https://www.polymer-project.org/). ## Icons Home Assistant utilizes the community-driven [Material Design Icons](https://pictogrammers.com/library/mdi/) project for icons in the frontend. The [Icons section](/docs/frontend/icons/) has more information on how to use icons and suggest new ones. - -## Examples - -The [User Interface section](/examples/#user-interface) can give you some starting points to expand the frontend. diff --git a/source/_examples/configuration_yaml_by_DrJohnT.markdown b/source/_examples/configuration_yaml_by_DrJohnT.markdown deleted file mode 100644 index 124a444f5d5..00000000000 --- a/source/_examples/configuration_yaml_by_DrJohnT.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by DrJohnT" -description: "Velux windows, Drayton Wiser heating, Audio / Visual, lighting and humidity controlled fans" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/DrJohnT/HomeAssistantPublicConfig ---- diff --git a/source/_examples/configuration_yaml_by_alok_saboo.markdown b/source/_examples/configuration_yaml_by_alok_saboo.markdown deleted file mode 100644 index 9bfbf050aab..00000000000 --- a/source/_examples/configuration_yaml_by_alok_saboo.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Alok Saboo" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/arsaboo/homeassistant-config ---- diff --git a/source/_examples/configuration_yaml_by_aneisch.markdown b/source/_examples/configuration_yaml_by_aneisch.markdown deleted file mode 100644 index bb21829efee..00000000000 --- a/source/_examples/configuration_yaml_by_aneisch.markdown +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "Configuration.yaml by aneisch" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/aneisch/home-assistant-config/ ---- - diff --git a/source/_examples/configuration_yaml_by_apocrathia.markdown b/source/_examples/configuration_yaml_by_apocrathia.markdown deleted file mode 100644 index bf0fb8f529d..00000000000 --- a/source/_examples/configuration_yaml_by_apocrathia.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Apocrathia" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/Apocrathia/home-assistant-config/ ---- diff --git a/source/_examples/configuration_yaml_by_carlo_costanzo.markdown b/source/_examples/configuration_yaml_by_carlo_costanzo.markdown deleted file mode 100644 index 407fb043c82..00000000000 --- a/source/_examples/configuration_yaml_by_carlo_costanzo.markdown +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "Configuration.yaml by Carlo Costanzo" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/CCOSTAN/Home-AssistantConfig ---- - diff --git a/source/_examples/configuration_yaml_by_cy1701.markdown b/source/_examples/configuration_yaml_by_cy1701.markdown deleted file mode 100644 index d0ed0ca6217..00000000000 --- a/source/_examples/configuration_yaml_by_cy1701.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by cy1701" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/cy1701/Home-Assistant-Configuration ---- diff --git a/source/_examples/configuration_yaml_by_dannytsang.markdown b/source/_examples/configuration_yaml_by_dannytsang.markdown deleted file mode 100644 index 84a3dcc7a4b..00000000000 --- a/source/_examples/configuration_yaml_by_dannytsang.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by dannytsang" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/dannytsang/homeassistant-config ---- diff --git a/source/_examples/configuration_yaml_by_geekofweek.markdown b/source/_examples/configuration_yaml_by_geekofweek.markdown deleted file mode 100644 index 270eaf9aff7..00000000000 --- a/source/_examples/configuration_yaml_by_geekofweek.markdown +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: "Configuration.yaml by geekofweek" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/geekofweek/homeassistant ---- - diff --git a/source/_examples/configuration_yaml_by_jimpower.markdown b/source/_examples/configuration_yaml_by_jimpower.markdown deleted file mode 100644 index f603dd16b69..00000000000 --- a/source/_examples/configuration_yaml_by_jimpower.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by jimpower" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/JamesMcCarthy79/Home-Assistant-Config ---- diff --git a/source/_examples/configuration_yaml_by_jonathan_adams.markdown b/source/_examples/configuration_yaml_by_jonathan_adams.markdown deleted file mode 100644 index a2199ae18e1..00000000000 --- a/source/_examples/configuration_yaml_by_jonathan_adams.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Jonathan Adams" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/jonathanadams/Home-Assistant-Configuration ---- diff --git a/source/_examples/configuration_yaml_by_klaasnicolaas.markdown b/source/_examples/configuration_yaml_by_klaasnicolaas.markdown deleted file mode 100644 index 51517847973..00000000000 --- a/source/_examples/configuration_yaml_by_klaasnicolaas.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by klaasnicolaas" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/klaasnicolaas/Student-homeassistant-config ---- diff --git a/source/_examples/configuration_yaml_by_mcaminiti.markdown b/source/_examples/configuration_yaml_by_mcaminiti.markdown deleted file mode 100644 index 3eb06b2c74e..00000000000 --- a/source/_examples/configuration_yaml_by_mcaminiti.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by mcaminiti" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/mcaminiti/homeassistant ---- diff --git a/source/_examples/configuration_yaml_by_ntalekt.markdown b/source/_examples/configuration_yaml_by_ntalekt.markdown deleted file mode 100644 index 95c4fe75962..00000000000 --- a/source/_examples/configuration_yaml_by_ntalekt.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by ntalekt" -description: "Unifi, ZHA, Pentair, Tuya, Tasmota" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/ntalekt/homeassistant ---- diff --git a/source/_examples/configuration_yaml_by_omerome83.markdown b/source/_examples/configuration_yaml_by_omerome83.markdown deleted file mode 100644 index 52cd0e3f482..00000000000 --- a/source/_examples/configuration_yaml_by_omerome83.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by omerome83" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/omerome83/homeassistant ---- diff --git a/source/_examples/configuration_yaml_by_shortbloke.markdown b/source/_examples/configuration_yaml_by_shortbloke.markdown deleted file mode 100644 index efba443af03..00000000000 --- a/source/_examples/configuration_yaml_by_shortbloke.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Shortbloke" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/shortbloke/home_assistant_config ---- diff --git a/source/_examples/configuration_yaml_by_skalavala.markdown b/source/_examples/configuration_yaml_by_skalavala.markdown deleted file mode 100644 index dde426b64b8..00000000000 --- a/source/_examples/configuration_yaml_by_skalavala.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Mahasri Kalavala (@skalavala)" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/skalavala/mysmarthome ---- diff --git a/source/_examples/configuration_yaml_by_tinkerer.markdown b/source/_examples/configuration_yaml_by_tinkerer.markdown deleted file mode 100644 index 80efdb9bafd..00000000000 --- a/source/_examples/configuration_yaml_by_tinkerer.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by Tinkerer" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/DubhAd/Home-AssistantConfig/ ---- diff --git a/source/_examples/configuration_yaml_by_ubhits.markdown b/source/_examples/configuration_yaml_by_ubhits.markdown deleted file mode 100644 index 915cc98a05e..00000000000 --- a/source/_examples/configuration_yaml_by_ubhits.markdown +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "Configuration.yaml by ubhits (HA 'Steroids' Config)" -description: "" -ha_category: Example configuration.yaml -ha_external_link: https://github.com/UbhiTS/ha-config-ataraxis ---- diff --git a/source/_examples/google_maps_card.markdown b/source/_examples/google_maps_card.markdown deleted file mode 100644 index 10b06e9c4c8..00000000000 --- a/source/_examples/google_maps_card.markdown +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: "Show Google Maps as a card" -description: "Example how to show a Google Map as a Google card." -ha_category: User Interface ---- - -Using the [generic camera platform] you can present any image on the internet as a camera. Starting release 0.27 these URLs can also be based on a template. This example uses this functionality to point a generic camera at the Google Maps static image API and pass in the location of a device. - -As of June 2018, Google has changed the API limits for static maps. You now need to have a Google Maps API key. Instructions for registering a key can be found [here](https://github.com/googlemaps/google-maps-services-python#api-keys). Replace `YOUR_API_KEY` with the key you registered. - -It also leverages the `limit_refetch_to_url_change` option to ensure that we do not make a lot of requests to the Google Maps API. - -{% raw %} - -```yaml -# Example configuration.yaml entry. -# Shows device_tracker.demo_paulus on a map. -camera: - name: Paulus - platform: generic - still_image_url: https://maps.googleapis.com/maps/api/staticmap?center={{ state_attr('device_tracker.demo_paulus', 'latitude') }},{{ state_attr('device_tracker.demo_paulus', 'longitude') }}&zoom=13&size=500x500&maptype=roadmap&markers=color:blue%7Clabel:P%7C{{ state_attr('device_tracker.demo_paulus', 'latitude') }},{{ state_attr('device_tracker.demo_paulus', 'longitude') }}&key=YOUR_API_KEY - limit_refetch_to_url_change: true -``` - -{% endraw %} - -
-
-