diff --git a/sass/custom/_paulus.scss b/sass/custom/_paulus.scss index 6720925343..623bb8db3d 100644 --- a/sass/custom/_paulus.scss +++ b/sass/custom/_paulus.scss @@ -299,21 +299,6 @@ p.note { transition-property: transform, opacity; } - .filter-button-group { - margin-bottom: 16px; - - .btn { - margin-right: 8px; - margin-bottom: 8px; - text-decoration: none; - - &.current { - background-color: #3A5561; - background-image: linear-gradient(to bottom, #3A5561,#3F6B7D); - } - } - } - #componentContainer { a { display: inline-block; @@ -365,6 +350,49 @@ p.note { } } +@media only screen and (max-width: $lap-end) { + #components-page { + .filter-button-group { + margin-bottom: 16px; + + .btn { + display: inline-block; + margin-right: 8px; + margin-bottom: 8px; + + &.current { + background-color: #3A5561; + background-image: linear-gradient(to bottom, #3A5561,#3F6B7D); + } + } + } + } +} + +@media only screen and (min-width: $desk-start) { + #components-page { + .filter-button-group { + .featured { + margin: 12px 0; + } + + .btn { + display: block; + background: 0; + color: black; + box-shadow: none; + text-shadow: none; + padding: 2px; + + &.current { + font-weight: bold; + } + } + } + } +} + + .aside-module { .section { margin-bottom: 16px; diff --git a/source/_components/binary_sensor.template.markdown b/source/_components/binary_sensor.template.markdown index abe1160fd4..3feed08cf0 100644 --- a/source/_components/binary_sensor.template.markdown +++ b/source/_components/binary_sensor.template.markdown @@ -8,6 +8,7 @@ comments: false sharing: true footer: true ha_category: Binary Sensor +logo: home-assistant.png --- The `template` platform supports sensors which breaks out the state and `state_attributes` from other entities. diff --git a/source/_components/downloader.markdown b/source/_components/downloader.markdown index b667bfcc6c..4f8ac43e40 100644 --- a/source/_components/downloader.markdown +++ b/source/_components/downloader.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Other +ha_category: Downloading ha_release: pre 0.7 --- diff --git a/source/_components/foursquare.markdown b/source/_components/foursquare.markdown index 1a756e1341..7121988a59 100644 --- a/source/_components/foursquare.markdown +++ b/source/_components/foursquare.markdown @@ -9,7 +9,7 @@ sharing: true footer: true logo: foursquare.png featured: true -ha_category: Other +ha_category: Social ha_release: 0.26 ha_iot_class: "Cloud Polling and Cloud Push" --- diff --git a/source/_components/media_player.universal.markdown b/source/_components/media_player.universal.markdown index fd0267ffb5..4883d487e2 100644 --- a/source/_components/media_player.universal.markdown +++ b/source/_components/media_player.universal.markdown @@ -7,7 +7,7 @@ sidebar: true comments: false sharing: true footer: true -logo: +logo: home-assistant.png ha_category: Media Player featured: false --- diff --git a/source/_components/panel_custom.markdown b/source/_components/panel_custom.markdown index d0457a4992..ffe04c7e2a 100644 --- a/source/_components/panel_custom.markdown +++ b/source/_components/panel_custom.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Frontend +ha_category: Front end ha_release: 0.26 --- diff --git a/source/_components/panel_iframe.markdown b/source/_components/panel_iframe.markdown index 1f85698720..b3ca0e8f9f 100644 --- a/source/_components/panel_iframe.markdown +++ b/source/_components/panel_iframe.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Frontend +ha_category: Front end ha_release: 0.25 --- diff --git a/source/_components/proximity.markdown b/source/_components/proximity.markdown index f58c5b46be..ee7d80bdcd 100644 --- a/source/_components/proximity.markdown +++ b/source/_components/proximity.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Organization +ha_category: Automation ha_release: 0.13 --- diff --git a/source/_components/sensor.bitcoin.markdown b/source/_components/sensor.bitcoin.markdown index 9b4525c9e3..610f8b3eca 100644 --- a/source/_components/sensor.bitcoin.markdown +++ b/source/_components/sensor.bitcoin.markdown @@ -8,8 +8,9 @@ comments: false sharing: true footer: true logo: bitcoin.png -ha_category: Sensor +ha_category: Finance ha_release: pre 0.7 +ha_iot_class: "Cloud Polling" --- diff --git a/source/_components/sensor.cpuspeed.markdown b/source/_components/sensor.cpuspeed.markdown index ba02555414..14df61d0ac 100644 --- a/source/_components/sensor.cpuspeed.markdown +++ b/source/_components/sensor.cpuspeed.markdown @@ -7,7 +7,8 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: System Monitor +ha_release: pre 0.7 ha_iot_class: "Local Push" --- diff --git a/source/_components/sensor.deutsche_bahn.markdown b/source/_components/sensor.deutsche_bahn.markdown index 3e33b836a3..00942189ce 100644 --- a/source/_components/sensor.deutsche_bahn.markdown +++ b/source/_components/sensor.deutsche_bahn.markdown @@ -7,9 +7,9 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: Transport logo: db.png -ha_iot_class: "Local Polling" +ha_iot_class: "Cloud Polling" ha_release: 0.14 --- diff --git a/source/_components/sensor.dte_energy_bridge.markdown b/source/_components/sensor.dte_energy_bridge.markdown index 1c2d7999f0..516e069c3e 100644 --- a/source/_components/sensor.dte_energy_bridge.markdown +++ b/source/_components/sensor.dte_energy_bridge.markdown @@ -7,7 +7,7 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: Energy ha_release: 0.21 ha_iot_class: "Local Polling" --- diff --git a/source/_components/sensor.efergy.markdown b/source/_components/sensor.efergy.markdown index a8030465fb..29bd54204f 100644 --- a/source/_components/sensor.efergy.markdown +++ b/source/_components/sensor.efergy.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: efergy.png -ha_category: Sensor +ha_category: Energy ha_release: pre 0.7 --- diff --git a/source/_components/sensor.eliqonline.markdown b/source/_components/sensor.eliqonline.markdown index fd6dddaef6..1aa57aa640 100644 --- a/source/_components/sensor.eliqonline.markdown +++ b/source/_components/sensor.eliqonline.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: eliq.png -ha_category: Sensor +ha_category: Energy ha_release: "0.10" --- diff --git a/source/_components/sensor.fastdotcom.markdown b/source/_components/sensor.fastdotcom.markdown index ce85bb17cd..69130b5a3d 100644 --- a/source/_components/sensor.fastdotcom.markdown +++ b/source/_components/sensor.fastdotcom.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: fastdotcom.png -ha_category: Sensor +ha_category: System Monitor featured: false ha_release: 0.26 --- diff --git a/source/_components/sensor.fitbit.markdown b/source/_components/sensor.fitbit.markdown index e96194c80f..1a9369eee3 100644 --- a/source/_components/sensor.fitbit.markdown +++ b/source/_components/sensor.fitbit.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: fitbit.png -ha_category: Sensor +ha_category: Health ha_iot_class: "Cloud Polling" ha_release: 0.19 --- diff --git a/source/_components/sensor.fixer.markdown b/source/_components/sensor.fixer.markdown index 6f415da155..7cedf44092 100644 --- a/source/_components/sensor.fixer.markdown +++ b/source/_components/sensor.fixer.markdown @@ -7,9 +7,9 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: Finance logo: fixer-io.png -ha_iot_class: "Local Polling" +ha_iot_class: "Cloud Polling" ha_release: 0.23 --- diff --git a/source/_components/sensor.glances.markdown b/source/_components/sensor.glances.markdown index dd2249cffe..e0079f4737 100644 --- a/source/_components/sensor.glances.markdown +++ b/source/_components/sensor.glances.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: glances.png -ha_category: Sensor +ha_category: System Monitor ha_iot_class: "Local Polling" ha_release: 0.7.3 --- diff --git a/source/_components/sensor.google_travel_time.markdown b/source/_components/sensor.google_travel_time.markdown index ad0d343c72..98d0b6086c 100644 --- a/source/_components/sensor.google_travel_time.markdown +++ b/source/_components/sensor.google_travel_time.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: google_maps.png -ha_category: Sensor +ha_category: Transport ha_iot_class: "Cloud Polling" ha_release: 0.19 --- diff --git a/source/_components/sensor.gpsd.markdown b/source/_components/sensor.gpsd.markdown index 30b30223c1..0b955d6b67 100644 --- a/source/_components/sensor.gpsd.markdown +++ b/source/_components/sensor.gpsd.markdown @@ -10,11 +10,12 @@ footer: true logo: gpsd.png ha_category: Sensor ha_release: 0.26 +ha_iot_class: "Local Polling" --- The `gpsd` component is using the GPS information collected by [gpsd](http://catb.org/gpsd/) and a GPS receiver. -A requirement is that `gpsd` is installed (`$ sudo dnf -y install gpsd` or `$ sudo apt-get install gpsd`). `gpsd` uses the socket activation feature of systemd on recent Linux distributions for USB receivers. This means that if you plug your GPS receiver in, `gpsd` is started. Other GPS device may work too, but this was not tested. +A requirement is that `gpsd` is installed (`$ sudo apt-get install gpsd` or `$ sudo dnf -y install gpsd`). `gpsd` uses the socket activation feature of systemd on recent Linux distributions for USB receivers. This means that if you plug your GPS receiver in, `gpsd` is started. Other GPS device may work too, but this was not tested. ```bash $ sudo systemctl status gpsdctl@ttyUSB0.service @@ -55,4 +56,4 @@ Configuration variables: - **host** (*Optional*): The host where GPSD is running. Defaults to `localhost`. - **port** (*Optional*): The port which GPSD is using. Defaults to 2947. -- **port** (*Optional*): Friendly name to use for the frontend. Default to GPS. +- **name** (*Optional*): Friendly name to use for the frontend. Default to GPS. diff --git a/source/_components/sensor.gtfs.markdown b/source/_components/sensor.gtfs.markdown index 6683670cb3..18a0aa5d91 100644 --- a/source/_components/sensor.gtfs.markdown +++ b/source/_components/sensor.gtfs.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: train.png -ha_category: Sensor +ha_category: Transport ha_iot_class: "Local Polling" ha_release: 0.17 --- diff --git a/source/_components/sensor.imap.markdown b/source/_components/sensor.imap.markdown index 5e52f03ed6..69ab3bbe64 100644 --- a/source/_components/sensor.imap.markdown +++ b/source/_components/sensor.imap.markdown @@ -1,7 +1,7 @@ --- layout: page -title: "IMAP Sensor" -description: "Instructions how to integrate IMAP sensors into Home Assistant." +title: "IMAP Unread E-mail" +description: "Instructions how to integrate IMAP unread email into Home Assistant." date: 2016-07-11 06:00 sidebar: true comments: false diff --git a/source/_components/sensor.lastfm.markdown b/source/_components/sensor.lastfm.markdown index b8dc42ff41..9fdfaabbea 100644 --- a/source/_components/sensor.lastfm.markdown +++ b/source/_components/sensor.lastfm.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: lastfm.png -ha_category: Sensor +ha_category: Social ha_iot_class: "Cloud Polling" ha_release: "0.20" --- diff --git a/source/_components/sensor.loop_energy.markdown b/source/_components/sensor.loop_energy.markdown index 0e399d3d66..cee4120b8c 100644 --- a/source/_components/sensor.loop_energy.markdown +++ b/source/_components/sensor.loop_energy.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: loop.png -ha_category: Sensor +ha_category: Energy ha_release: 0.17 --- diff --git a/source/_components/sensor.moldindicator.markdown b/source/_components/sensor.moldindicator.markdown index acfec6b17c..e892e01e7c 100644 --- a/source/_components/sensor.moldindicator.markdown +++ b/source/_components/sensor.moldindicator.markdown @@ -9,6 +9,7 @@ sharing: true footer: true ha_category: Sensor ha_release: '0.20' +ha_iot_class: "Local Polling" --- The Mold Indicator sensor component consumes information of two temperature sensors and a humidity sensor to give an indication for possible mold growth in your home. In case of bad ventilation and insulation, the indoor humidity may lead to condensation on cold surfaces as the windows or even walls. Condensation or a high relative humidity near those cold surfaces leads to a higher risk for mold growth. This sensor component estimates the temperature at a pre-calibrated critical point in the room (the coldest surface) and calculates the relative humidity of the air at that point. If the sensor value rises above approximately 70 percent, mold growth might occur and the room should be ventilated. At 100%, the air humidity condensates at the critical point. diff --git a/source/_components/sensor.nzbget.markdown b/source/_components/sensor.nzbget.markdown index 16104f19ae..f1836295ce 100644 --- a/source/_components/sensor.nzbget.markdown +++ b/source/_components/sensor.nzbget.markdown @@ -7,7 +7,7 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: Downloading logo: nzbget.png ha_iot_class: "Local Polling" ha_release: 0.17 diff --git a/source/_components/sensor.ohmconnect.markdown b/source/_components/sensor.ohmconnect.markdown index 258b9b22aa..1bae8f6f8a 100644 --- a/source/_components/sensor.ohmconnect.markdown +++ b/source/_components/sensor.ohmconnect.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: "ohmconnect.png" -ha_category: Sensor +ha_category: Energy ha_iot_class: "Cloud Polling" ha_release: 0.26 --- diff --git a/source/_components/sensor.openexchangerates.markdown b/source/_components/sensor.openexchangerates.markdown index e237b289b6..ad86aa02dd 100644 --- a/source/_components/sensor.openexchangerates.markdown +++ b/source/_components/sensor.openexchangerates.markdown @@ -7,9 +7,9 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: Finance logo: openexchangerates.png -ha_iot_class: "Local Polling" +ha_iot_class: "Cloud Polling" ha_release: 0.23 --- diff --git a/source/_components/sensor.plex.markdown b/source/_components/sensor.plex.markdown index daf62cad8b..3ad2452794 100644 --- a/source/_components/sensor.plex.markdown +++ b/source/_components/sensor.plex.markdown @@ -1,6 +1,6 @@ --- layout: page -title: "Plex Sensor" +title: "Plex Activity Monitor" description: "How to add a Plex sensor to Home Assistant." date: 2016-06-3 08:19 sidebar: true @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: plex.png -ha_category: Sensor +ha_category: Media Player ha_release: 0.22 --- diff --git a/source/_components/sensor.sabnzbd.markdown b/source/_components/sensor.sabnzbd.markdown index ae8536d5bf..37534aaf4a 100644 --- a/source/_components/sensor.sabnzbd.markdown +++ b/source/_components/sensor.sabnzbd.markdown @@ -8,14 +8,15 @@ comments: false sharing: true footer: true logo: sabnzbd.png -ha_category: Sensor +ha_category: Downloading ha_release: pre 0.7 +ha_iot_class: "Local Polling" --- The `sabnzbd` platform will allow you to monitor your downloads with [SABnzbd](http://sabnzbd.org) from within Home Assistant and setup automation based on the information. -To use sabnzbd with your installation, add the following to your `configuration.yaml` file: +To use SABnzbd with your installation, add the following to your `configuration.yaml` file: ```yaml # Example configuration.yaml entry diff --git a/source/_components/sensor.speedtest.markdown b/source/_components/sensor.speedtest.markdown index 95cd4a9e20..3036a0a54f 100644 --- a/source/_components/sensor.speedtest.markdown +++ b/source/_components/sensor.speedtest.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: speedtest.png -ha_category: Sensor +ha_category: System Monitor featured: false ha_release: 0.13 --- diff --git a/source/_components/sensor.steam_online.markdown b/source/_components/sensor.steam_online.markdown index dd448fe0de..646b3fb816 100644 --- a/source/_components/sensor.steam_online.markdown +++ b/source/_components/sensor.steam_online.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: steam.png -ha_category: Sensor +ha_category: Social ha_iot_class: "Cloud Polling" ha_release: 0.14 --- diff --git a/source/_components/sensor.supervisord.markdown b/source/_components/sensor.supervisord.markdown index c51ed73c8f..d299fd8c17 100644 --- a/source/_components/sensor.supervisord.markdown +++ b/source/_components/sensor.supervisord.markdown @@ -7,7 +7,7 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: System Monitor ha_release: "0.20" --- diff --git a/source/_components/sensor.swiss_hydrological_data.markdown b/source/_components/sensor.swiss_hydrological_data.markdown index 427a2c8ac9..973fa36d4b 100644 --- a/source/_components/sensor.swiss_hydrological_data.markdown +++ b/source/_components/sensor.swiss_hydrological_data.markdown @@ -7,8 +7,8 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor -ha_iot_class: "Local Polling" +ha_category: Weather +ha_iot_class: "Cloud Polling" ha_release: 0.22 --- diff --git a/source/_components/sensor.swiss_public_transport.markdown b/source/_components/sensor.swiss_public_transport.markdown index 3349f272eb..37ff0ac0af 100644 --- a/source/_components/sensor.swiss_public_transport.markdown +++ b/source/_components/sensor.swiss_public_transport.markdown @@ -8,8 +8,8 @@ comments: false sharing: true footer: true logo: train.png -ha_category: Sensor -ha_iot_class: "Local Polling" +ha_category: Transport +ha_iot_class: "Cloud Polling" ha_release: pre 0.7 --- diff --git a/source/_components/sensor.systemmonitor.markdown b/source/_components/sensor.systemmonitor.markdown index c3aec6419d..413af5db9d 100644 --- a/source/_components/sensor.systemmonitor.markdown +++ b/source/_components/sensor.systemmonitor.markdown @@ -7,7 +7,7 @@ sidebar: true comments: false sharing: true footer: true -ha_category: Sensor +ha_category: System Monitor ha_release: pre 0.7 ha_iot_class: "Local Push" --- diff --git a/source/_components/sensor.template.markdown b/source/_components/sensor.template.markdown index 59ff381352..188feb040a 100644 --- a/source/_components/sensor.template.markdown +++ b/source/_components/sensor.template.markdown @@ -9,6 +9,8 @@ sharing: true footer: true ha_category: Sensor ha_release: 0.12 +ha_iot_class: "Local Push" +logo: home-assistant.png --- The `template` platform supports sensors which breaks out `state_attributes` from other entities. diff --git a/source/_components/sensor.time_date.markdown b/source/_components/sensor.time_date.markdown index 2ca3159d91..a35b70f4c0 100644 --- a/source/_components/sensor.time_date.markdown +++ b/source/_components/sensor.time_date.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Sensor +ha_category: Calendar ha_iot_class: "Local Push" ha_release: pre 0.7 --- diff --git a/source/_components/sensor.torque.markdown b/source/_components/sensor.torque.markdown index 42429bfb4c..a86ea0bacc 100644 --- a/source/_components/sensor.torque.markdown +++ b/source/_components/sensor.torque.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: torque.png -ha_category: Sensor +ha_category: Transport ha_release: "0.10" --- diff --git a/source/_components/sensor.transmission.markdown b/source/_components/sensor.transmission.markdown index 2b65c2cce4..21d9c0d08b 100644 --- a/source/_components/sensor.transmission.markdown +++ b/source/_components/sensor.transmission.markdown @@ -8,8 +8,9 @@ comments: false sharing: true footer: true logo: transmission.png -ha_category: Sensor +ha_category: Downloading ha_release: pre 0.7 +ha_iot_class: "Local Polling" --- diff --git a/source/_components/sensor.twitch.markdown b/source/_components/sensor.twitch.markdown index f15a84f880..fe3c4bd400 100644 --- a/source/_components/sensor.twitch.markdown +++ b/source/_components/sensor.twitch.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: twitch.png -ha_category: Sensor +ha_category: Social ha_release: "0.10" --- diff --git a/source/_components/sensor.uber.markdown b/source/_components/sensor.uber.markdown index e73bf44d7a..3ea359e735 100644 --- a/source/_components/sensor.uber.markdown +++ b/source/_components/sensor.uber.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: uber.png -ha_category: Sensor +ha_category: Transport ha_iot_class: "Cloud Polling" ha_release: 0.16 --- diff --git a/source/_components/sensor.worldclock.markdown b/source/_components/sensor.worldclock.markdown index 3b63b96bf0..d6f37031f3 100644 --- a/source/_components/sensor.worldclock.markdown +++ b/source/_components/sensor.worldclock.markdown @@ -8,7 +8,7 @@ comments: false sharing: true footer: true logo: home-assistant.png -ha_category: Sensor +ha_category: Calendar ha_iot_class: "Local Push" ha_release: pre 0.7 --- diff --git a/source/_components/shell_command.markdown b/source/_components/shell_command.markdown index b77b1101da..dc6f83b304 100644 --- a/source/_components/shell_command.markdown +++ b/source/_components/shell_command.markdown @@ -8,6 +8,7 @@ comments: false sharing: true footer: true ha_category: Automation +logo: home-assistant.png --- This component can expose regular shell commands as services. Services can be called from a [script] or in [automation]. diff --git a/source/_components/switch.flux.markdown b/source/_components/switch.flux.markdown index 18604e9df0..d7a1d9d198 100644 --- a/source/_components/switch.flux.markdown +++ b/source/_components/switch.flux.markdown @@ -1,14 +1,15 @@ --- layout: page -title: "Flux Switch" +title: "Flux Light Adjustment" description: "Instructions how to have switches call command line commands." date: 2016-06-01 17:41 sidebar: true comments: false sharing: true footer: true -ha_category: Switch +ha_category: Automation ha_release: 0.21 +logo: home-assistant.png --- The `flux` switch platform will change the temperature of your lights similar to the way flux works on your computer, using circadian rhythm. They will be bright during the day, and gradually fade to a red/orange at night. diff --git a/source/_components/switch.pilight.markdown b/source/_components/switch.pilight.markdown index a5d7856150..648348cc1a 100644 --- a/source/_components/switch.pilight.markdown +++ b/source/_components/switch.pilight.markdown @@ -9,7 +9,8 @@ sharing: true footer: true logo: pilight.png ha_category: Switch -ha_release: pre 0.7 +ha_release: 0.26 +ha_iot_class: "Local Polling" --- @@ -60,4 +61,4 @@ Configuration variables: - **on_code_receive** (*Optional*): If given, this command will turn the switch on if it is received by pilight. - **off_code_receive** (*Optional*): If given, this command will turn the switch off if it is received by pilight. -For possible code entries look at the [pilight API](https://www.pilight.org/development/api/). All commands allowed by [pilight-send](https://wiki.pilight.org/doku.php/psend) can be used. \ No newline at end of file +For possible code entries look at the [pilight API](https://www.pilight.org/development/api/). All commands allowed by [pilight-send](https://wiki.pilight.org/doku.php/psend) can be used. diff --git a/source/_components/switch.pulseaudio_loopback.markdown b/source/_components/switch.pulseaudio_loopback.markdown index bf8d0bf5f9..eb7c3aaea8 100644 --- a/source/_components/switch.pulseaudio_loopback.markdown +++ b/source/_components/switch.pulseaudio_loopback.markdown @@ -10,6 +10,7 @@ footer: true logo: pulseaudio.png ha_category: Switch ha_release: 0.16 +ha_iot_class: "Local Polling" --- diff --git a/source/_components/switch.template.markdown b/source/_components/switch.template.markdown index 256c34fa5a..2d4694e956 100644 --- a/source/_components/switch.template.markdown +++ b/source/_components/switch.template.markdown @@ -9,6 +9,8 @@ sharing: true footer: true ha_category: Switch ha_release: 0.13 +ha_iot_class: "Local Push" +logo: home-assistant.png --- The `template` platform creates switches that combine components. diff --git a/source/_components/switch.transmission.markdown b/source/_components/switch.transmission.markdown index 3ffb614d96..7310b72320 100644 --- a/source/_components/switch.transmission.markdown +++ b/source/_components/switch.transmission.markdown @@ -8,8 +8,9 @@ comments: false sharing: true footer: true logo: transmission.png -ha_category: Switch +ha_category: Downloading ha_release: pre 0.7 +ha_iot_class: "Local Polling" --- diff --git a/source/_components/thermostat.heat_control.markdown b/source/_components/thermostat.heat_control.markdown index 4b70cf0649..8c3da494ed 100644 --- a/source/_components/thermostat.heat_control.markdown +++ b/source/_components/thermostat.heat_control.markdown @@ -1,6 +1,6 @@ --- layout: page -title: "Heat control" +title: "Generic Thermostat" description: "Turn Home Assistant into a thermostat" date: 2015-03-23 19:59 sidebar: true diff --git a/source/_components/weblink.markdown b/source/_components/weblink.markdown index 1b91e3f722..56c64a90c6 100644 --- a/source/_components/weblink.markdown +++ b/source/_components/weblink.markdown @@ -7,8 +7,7 @@ sidebar: true comments: false sharing: true footer: true -logo: -ha_category: Other +ha_category: Front end ha_release: 0.13 --- diff --git a/source/_posts/2016-08-13-foursquare--fast.com--ffmpeg--gpsd.markdown b/source/_posts/2016-08-13-foursquare--fast.com--ffmpeg--gpsd.markdown index 7d5081896a..56046fa08e 100644 --- a/source/_posts/2016-08-13-foursquare--fast.com--ffmpeg--gpsd.markdown +++ b/source/_posts/2016-08-13-foursquare--fast.com--ffmpeg--gpsd.markdown @@ -44,6 +44,16 @@ This release includes code contributed by 31 different people. The biggest chang - New [pilight] component to control 433 Mz devices ([@DavidLP]) - Sensor: [GPSD] now supported ([@fabaff]) +### {% linkable_title Hotfix 0.26.1 - August 14 %} + +- Fix serial_pm config validation ([@open-homeautomation]) +- Check for existence of system mode on Honeywell thermostats ([@mKeRix]) +- Fix unknown unit of measurement for hvac and thermostat component ([@turbokongen]) + +### {% linkable_title Hotfix 0.26.2 - August 15 %} + +- Fix Wemo: have PyWemo play nicely with the latest Requests ([@pavoni]) + ### {% linkable_title Breaking changes %} - A new unit system has superseded the temperature unit option in the core configuration. For now it is backwards compatible, but you should update soon: @@ -55,6 +65,8 @@ homeassistant: unit_system: metric ``` +[@pavoni]: https://github.com/pavoni +[@mKeRix]: https://github.com/mKeRix [@abcminiuser]: https://github.com/abcminiuser [@balloob]: https://github.com/balloob [@corbanmailloux]: https://github.com/corbanmailloux diff --git a/source/components/index.html b/source/components/index.html index 87b08f3085..1dd28d43c8 100644 --- a/source/components/index.html +++ b/source/components/index.html @@ -13,47 +13,56 @@ body_id: components-page regenerate: true --- +{% assign count = site.components | size %} +{% assign nocat = site.components | where: 'ha_category', null | size %} +{% assign tot = count | minus: nocat %} +{% assign components = site.components | sort: 'title' %} +{% assign categories = components | sort: 'ha_category' | map: 'ha_category' | uniq %} +
Support for these components is provided by the Home Assistant community.
-{% assign components = site.components | sort: 'title' %} -{% assign categories = components | sort: 'ha_category' | map: 'ha_category' | uniq %} +{{ component.title }}
diff --git a/source/developers/development_validation.markdown b/source/developers/development_validation.markdown index 9728474880..cd36cb5731 100644 --- a/source/developers/development_validation.markdown +++ b/source/developers/development_validation.markdown @@ -21,20 +21,40 @@ Beside the [voluptuous](https://pypi.python.org/pypi/voluptuous) default types a To validate plaforms using [MQTT](/components/mqtt/) there are `valid_subscribe_topic` and `valid_publish_topic` present. +Some things to keep in mind: + +- Use the constants which are definded in `const.py`. +- Import `PLATFORM_SCHEMA` from parent component and extend it. +- Preferred order is `required` first, then `optional`. + ### {% linkable_title Snippets %} This section contains a couple of snippets for the validation we use. ### {% linkable_title Default name %} +It's common to set a default for a sensor if the user is not providing a name to use. + ```python DEFAULT_NAME = 'Sensor name' -PLATFORM_SCHEMA = vol.Schema({ +PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ ... vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, ``` +### {% linkable_title Limit the values %} + +In certain cases you want to limit the user's input to a couple of options. + +```python +DEFAULT_METHOD = 'GET' + +PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ + ... + vol.Optional(CONF_METHOD, default=DEFAULT_METHOD): vol.In(['POST', 'GET']), +``` + ### {% linkable_title Port %} As all port numbers are coming out of the range 1 till 65535 a range check should be performed. @@ -42,8 +62,8 @@ As all port numbers are coming out of the range 1 till 65535 a range check shoul ```python DEFAULT_PORT = 993 -PLATFORM_SCHEMA = vol.Schema({ - [...] +PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ + ... vol.Optional(CONF_PORT, default=DEFAULT_PORT): vol.All(vol.Coerce(int), vol.Range(min=1, max=65535)), ``` @@ -58,8 +78,8 @@ SENSOR_TYPES = { 'average_download_rate': ('Average Speed', 'MB/s'), } -PLATFORM_SCHEMA = vol.Schema({ - .... +PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ + ... vol.Optional(CONF_MONITORED_VARIABLES, default=[]): [vol.In(SENSOR_TYPES)], ``` diff --git a/source/getting-started/configuration.markdown b/source/getting-started/configuration.markdown index 38b5dbe18d..f9ed323498 100644 --- a/source/getting-started/configuration.markdown +++ b/source/getting-started/configuration.markdown @@ -9,20 +9,28 @@ sharing: true footer: true --- -Home Assistant will create a configuration folder when it is run for the first time. The location of the folder differs between operating systems: on OS X and Linux it's `~/.homeassistant` and on Windows it's `%APPDATA%/.homeassistant`. If you want to use a different folder for configuration, run `hass --config path/to/config`. - -Inside your configuration folder is the file `configuration.yaml`. This is the main file that contains which components will be loaded and what their configuration is. This file contains YAML code, which is explained briefly below. [An example configuration file is located here](https://github.com/home-assistant/home-assistant/blob/master/config/configuration.yaml.example). - When launched for the first time, Home Assistant will write a default configuration file enabling the web interface and device discovery. It can take up to a minute for your devices to be discovered and show up in the user interface. -If you run into trouble while configuring Home Assistant, have a look at [the configuration troubleshooting page](/getting-started/troubleshooting-configuration/). +The location of the folder differs between operating systems: -- Install colorlog (`$ pip install colorlog`) to make the console output easier to read, hence also easier to catch errors and warnings. -
+| OS | Path | +| -- | ---- | +| OS X | `~/.homeassistant` | +| Linux | `~/.homeassistant` | +| Windows | `%APPDATA%/.homeassistant` | + +If you want to use a different folder for configuration, use the config command line parameter: `hass --config path/to/config`. + +Inside your configuration folder is the file `configuration.yaml`. This is the main file that contains which components will be loaded and what their configuration is. Throughout the documentation you will find snippets that you can add to your configuration file to enable that functionality. + +If you run into trouble while configuring Home Assistant, have a look at [the configuration troubleshooting page](/getting-started/troubleshooting-configuration/) and at the [configuration.yaml examples](/cookbook/#example-configurationyaml).- You will have to restart Home Assistant each time you make changes in `configuration.yaml` in order for these to take effect. + You will have to restart Home Assistant for changes to `configuration.yaml` take effect. +
+ ++ Install colorlog (`$ pip3 install colorlog`) to make the console output easier to read, hence also easier to catch errors and warnings.
### [Next step: Get familiar with YAML »](/getting-started/yaml/) diff --git a/source/getting-started/scripts-conditions.markdown b/source/getting-started/scripts-conditions.markdown index 11beeabadb..430727ba97 100644 --- a/source/getting-started/scripts-conditions.markdown +++ b/source/getting-started/scripts-conditions.markdown @@ -96,7 +96,9 @@ for: #### {% linkable_title Sun condition %} -The sun condition can test if the sun has already set or risen when a trigger occurs. The `before` and `after` keys can only be set to `sunset` or `sunrise`. They have a corresponding optional offset value (`before_offset`, `after_offset`) that can be added, similar to the [sun trigger](#sun-trigger). +The sun condition can test if the sun has already set or risen when a trigger occurs. The `before` and `after` keys can only be set to `sunset` or `sunrise`. They have a corresponding optional offset value (`before_offset`, `after_offset`) that can be added, similar to the [sun trigger][sun_trigger]. + +[sun_trigger]: /getting-started/automation-trigger/#sun-trigger ```yaml condition: sun diff --git a/source/getting-started/z-wave.markdown b/source/getting-started/z-wave.markdown index a0ea9ad7d7..9f111c0578 100644 --- a/source/getting-started/z-wave.markdown +++ b/source/getting-started/z-wave.markdown @@ -170,7 +170,7 @@ The *object_id* and *scene_id* of all triggered events can be seen in the consol #### {% linkable_title Services %} -The Z-Wave component exposes four services to help maintain the network. +The Z-Wave component exposes seven services to help maintain the network. | Service | Description | | ------- | ----------- | diff --git a/source/index.html b/source/index.html index 46d633741e..ffa5962b1e 100644 --- a/source/index.html +++ b/source/index.html @@ -15,8 +15,8 @@ hide_github_edit: true