diff --git a/CODEOWNERS b/CODEOWNERS index ff19a1518a2..14f8f2c74de 100644 --- a/CODEOWNERS +++ b/CODEOWNERS @@ -19,7 +19,6 @@ source/_integrations/alexa.markdown @home-assistant/cloud @ochlocracy source/_integrations/alexa.smart_home.markdown @home-assistant/cloud @ochlocracy source/_integrations/almond.markdown @gcampax @balloob source/_integrations/alpha_vantage.markdown @fabaff -source/_integrations/amazon_polly.markdown @robbiet480 source/_integrations/ambiclimate.markdown @danielhiversen source/_integrations/ambient_station.markdown @bachya source/_integrations/amcrest.markdown @pnbruckner @@ -42,8 +41,8 @@ source/_integrations/auth.markdown @home-assistant/core source/_integrations/automation.markdown @home-assistant/core source/_integrations/avea.markdown @pattyland source/_integrations/avri.markdown @timvancann -source/_integrations/awair.markdown @danielsjf -source/_integrations/aws.markdown @awarecan @robbiet480 +source/_integrations/awair.markdown @ahayworth @danielsjf +source/_integrations/aws.markdown @awarecan source/_integrations/axis.markdown @Kane610 source/_integrations/azure_event_hub.markdown @eavanvalkenburg source/_integrations/azure_service_bus.markdown @hfurubotten @@ -53,9 +52,10 @@ source/_integrations/bizkaibus.markdown @UgaitzEtxebarria source/_integrations/blebox.markdown @gadgetmobile source/_integrations/blink.markdown @fronzbot source/_integrations/bmp280.markdown @belidzs -source/_integrations/bmw_connected_drive.markdown @gerard33 +source/_integrations/bmw_connected_drive.markdown @gerard33 @rikroe source/_integrations/bom.markdown @maddenp -source/_integrations/braviatv.markdown @robbiet480 @bieniu +source/_integrations/bond.markdown @prystupa +source/_integrations/braviatv.markdown @bieniu source/_integrations/broadlink.markdown @danielhiversen @felipediel source/_integrations/brother.markdown @bieniu source/_integrations/brunt.markdown @eavanvalkenburg @@ -82,6 +82,7 @@ source/_integrations/cpuspeed.markdown @fabaff source/_integrations/cups.markdown @fabaff source/_integrations/daikin.markdown @fredrike source/_integrations/darksky.markdown @fabaff +source/_integrations/debugpy.markdown @frenck source/_integrations/deconz.markdown @Kane610 source/_integrations/delijn.markdown @bollewolle @Emilv2 source/_integrations/demo.markdown @home-assistant/core @@ -89,6 +90,7 @@ source/_integrations/denonavr.markdown @scarface-4711 @starkillerOG source/_integrations/derivative.markdown @afaucogney source/_integrations/device_automation.markdown @home-assistant/core source/_integrations/devolo_home_control.markdown @2Fake @Shutgun +source/_integrations/dexcom.markdown @gagebenne source/_integrations/digital_ocean.markdown @fabaff source/_integrations/directv.markdown @ctalkington source/_integrations/discogs.markdown @thibmaek @@ -122,7 +124,6 @@ source/_integrations/ezviz.markdown @baqs source/_integrations/fastdotcom.markdown @rohankapoorcom source/_integrations/file.markdown @fabaff source/_integrations/filter.markdown @dgomes -source/_integrations/fitbit.markdown @robbiet480 source/_integrations/fixer.markdown @fabaff source/_integrations/flick_electric.markdown @ZephireNZ source/_integrations/flock.markdown @fabaff @@ -131,7 +132,6 @@ source/_integrations/flunearyou.markdown @bachya source/_integrations/forked_daapd.markdown @uvjustin source/_integrations/fortios.markdown @kimfrellsen source/_integrations/foscam.markdown @skgsergio -source/_integrations/foursquare.markdown @robbiet480 source/_integrations/freebox.markdown @snoof85 @Quentame source/_integrations/fronius.markdown @nielstron source/_integrations/frontend.markdown @home-assistant/frontend @@ -144,18 +144,15 @@ source/_integrations/geonetnz_volcano.markdown @exxamalte source/_integrations/gios.markdown @bieniu source/_integrations/gitter.markdown @fabaff source/_integrations/glances.markdown @fabaff @engrbm87 -source/_integrations/gntp.markdown @robbiet480 source/_integrations/gogogate2.markdown @vangorra source/_integrations/google_assistant.markdown @home-assistant/cloud source/_integrations/google_cloud.markdown @lufton source/_integrations/google_translate.markdown @awarecan -source/_integrations/google_travel_time.markdown @robbiet480 source/_integrations/gpsd.markdown @fabaff source/_integrations/greeneye_monitor.markdown @jkeljo source/_integrations/griddy.markdown @bdraco source/_integrations/group.markdown @home-assistant/core source/_integrations/growatt_server.markdown @indykoning -source/_integrations/gtfs.markdown @robbiet480 source/_integrations/guardian.markdown @bachya source/_integrations/harmony.markdown @ehendrix23 @bramkragten @bdraco source/_integrations/heatmiser.markdown @andylockran @@ -173,18 +170,20 @@ source/_integrations/homekit_controller.markdown @Jc2k source/_integrations/homematic.markdown @pvizeli @danielperna84 source/_integrations/homematicip_cloud.markdown @SukramJ source/_integrations/honeywell.markdown @zxdavb -source/_integrations/html5.markdown @robbiet480 source/_integrations/http.markdown @home-assistant/core source/_integrations/huawei_lte.markdown @scop @fphammerle source/_integrations/huawei_router.markdown @abmantis -source/_integrations/hue.markdown @balloob +source/_integrations/hue.markdown @balloob @frenck +source/_integrations/humidifier.markdown @home-assistant/core @Shulyaka source/_integrations/hunterdouglas_powerview.markdown @bdraco +source/_integrations/hvv_departures.markdown @vigonotion +source/_integrations/hydrawise.markdown @ptcryan source/_integrations/iammeter.markdown @lewei50 source/_integrations/iaqualink.markdown @flz source/_integrations/icloud.markdown @Quentame source/_integrations/ign_sismologia.markdown @exxamalte source/_integrations/incomfort.markdown @zxdavb -source/_integrations/influxdb.markdown @fabaff +source/_integrations/influxdb.markdown @fabaff @mdegat01 source/_integrations/input_boolean.markdown @home-assistant/core source/_integrations/input_datetime.markdown @home-assistant/core source/_integrations/input_number.markdown @home-assistant/core @@ -234,6 +233,7 @@ source/_integrations/melissa.markdown @kennedyshead source/_integrations/met.markdown @danielhiversen source/_integrations/meteo_france.markdown @victorcerutti @oncleben31 @Quentame source/_integrations/meteoalarm.markdown @rolfberkenbosch +source/_integrations/metoffice.markdown @MrHarcombe source/_integrations/miflora.markdown @danielhiversen @ChristianKuehnel source/_integrations/mikrotik.markdown @engrbm87 source/_integrations/mill.markdown @danielhiversen @@ -265,6 +265,7 @@ source/_integrations/nissan_leaf.markdown @filcole source/_integrations/nmbs.markdown @thibmaek source/_integrations/no_ip.markdown @fabaff source/_integrations/notify.markdown @home-assistant/core +source/_integrations/notify_events.markdown @matrozov @papajojo source/_integrations/notion.markdown @bachya source/_integrations/nsw_fuel_station.markdown @nickw444 source/_integrations/nsw_rural_fire_service_feed.markdown @exxamalte @@ -302,9 +303,11 @@ source/_integrations/plaato.markdown @JohNan source/_integrations/plant.markdown @ChristianKuehnel source/_integrations/plex.markdown @jjlawren source/_integrations/plugwise.markdown @CoMPaTech @bouwew -source/_integrations/plum_lightpad.markdown @ColinHarrington +source/_integrations/plum_lightpad.markdown @ColinHarrington @prystupa source/_integrations/point.markdown @fredrike +source/_integrations/poolsense.markdown @haemishkyd source/_integrations/powerwall.markdown @bdraco @jrester +source/_integrations/prometheus.markdown @knyar source/_integrations/proxmoxve.markdown @k4ds3 @jhollowe source/_integrations/ps4.markdown @ktnrg45 source/_integrations/ptvsd.markdown @swamp-ig @@ -323,7 +326,7 @@ source/_integrations/rainforest_eagle.markdown @gtdiehl @jcalbert source/_integrations/rainmachine.markdown @bachya source/_integrations/random.markdown @fabaff source/_integrations/repetier.markdown @MTrab -source/_integrations/rfxtrx.markdown @danielhiversen +source/_integrations/rfxtrx.markdown @danielhiversen @elupus source/_integrations/ring.markdown @balloob source/_integrations/rmvtransport.markdown @cgtobi source/_integrations/roku.markdown @ctalkington @@ -353,6 +356,7 @@ source/_integrations/sinch.markdown @bendikrb source/_integrations/sisyphus.markdown @jkeljo source/_integrations/slide.markdown @ualex73 source/_integrations/sma.markdown @kellerza +source/_integrations/smappee.markdown @bsmappee source/_integrations/smarthab.markdown @outadoc source/_integrations/smartthings.markdown @andrewsayre source/_integrations/smarty.markdown @z0mbieprocess @@ -366,7 +370,7 @@ source/_integrations/somfy.markdown @tetienne source/_integrations/sonarr.markdown @ctalkington source/_integrations/songpal.markdown @rytilahti @shenxn source/_integrations/spaceapi.markdown @fabaff -source/_integrations/speedtestdotnet.markdown @rohankapoorcom +source/_integrations/speedtestdotnet.markdown @rohankapoorcom @engrbm87 source/_integrations/spider.markdown @peternijssen source/_integrations/spotify.markdown @frenck source/_integrations/sql.markdown @dgomes @@ -415,8 +419,6 @@ source/_integrations/transmission.markdown @engrbm87 @JPHutchins source/_integrations/tts.markdown @pvizeli source/_integrations/tuya.markdown @ollo69 source/_integrations/twentemilieu.markdown @frenck -source/_integrations/twilio_call.markdown @robbiet480 -source/_integrations/twilio_sms.markdown @robbiet480 source/_integrations/ubee.markdown @mzdrale source/_integrations/unifi.markdown @Kane610 source/_integrations/unifiled.markdown @florisvdk @@ -444,7 +446,6 @@ source/_integrations/watson_tts.markdown @rutkai source/_integrations/weather.markdown @fabaff source/_integrations/webostv.markdown @bendavid source/_integrations/websocket_api.markdown @home-assistant/core -source/_integrations/wemo.markdown @sqldiablo source/_integrations/wiffi.markdown @mampfes source/_integrations/withings.markdown @vangorra source/_integrations/wled.markdown @frenck @@ -462,7 +463,7 @@ source/_integrations/yeelightsunflower.markdown @lindsaymarkward source/_integrations/yessssms.markdown @flowolf source/_integrations/yi.markdown @bachya source/_integrations/yr.markdown @danielhiversen -source/_integrations/zeroconf.markdown @robbiet480 @Kane610 +source/_integrations/zeroconf.markdown @Kane610 source/_integrations/zerproc.markdown @emlove source/_integrations/zha.markdown @dmulcahey @adminiuga source/_integrations/zone.markdown @home-assistant/core diff --git a/Gemfile.lock b/Gemfile.lock index af09ef09d22..61d62673531 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -29,7 +29,7 @@ GEM ffi (1.13.1-x64-mingw32) forwardable-extended (2.6.0) http_parser.rb (0.6.0) - i18n (1.8.4) + i18n (1.8.5) concurrent-ruby (~> 1.0) jekyll (4.1.1) addressable (~> 2.4) diff --git a/_config.yml b/_config.yml index 911082b60aa..34e23909ddd 100644 --- a/_config.yml +++ b/_config.yml @@ -100,9 +100,9 @@ social: # Home Assistant release details current_major_version: 0 -current_minor_version: 112 -current_patch_version: 5 -date_released: 2020-07-13 +current_minor_version: 113 +current_patch_version: 1 +date_released: 2020-07-24 # Either # or the anchor link to latest release notes in the blog post. # Must be prefixed with a # and have double quotes around it. diff --git a/source/_docs/scripts.markdown b/source/_docs/scripts.markdown index d70834fcb65..bf1bc4a0de6 100644 --- a/source/_docs/scripts.markdown +++ b/source/_docs/scripts.markdown @@ -206,7 +206,7 @@ The following automation shows how to capture the custom event `event_light_stat ### Repeat a Group of Actions This action allows you to repeat a sequence of other actions. Nesting is fully supported. -There are three ways to control how many times the sequence will be repeated. +There are three ways to control how many times the sequence will be run. #### Counted Repeat @@ -215,57 +215,93 @@ the template is rendered when the repeat step is reached. {% raw %} ```yaml -- alias: Repeat the sequence the specified number of times - repeat: - count: "{{ repeat_count }}" +script: + flash_light: + mode: restart sequence: - - ... + - service: light.turn_on + data_template: + entity_id: "light.{{ light }}" + - repeat: + count: "{{ count|int * 2 - 1 }}" + sequence: + - delay: 2 + - service: light.toggle + data_template: + entity_id: "light.{{ light }}" + flash_hallway_light: + sequence: + - service: script.flash_light + data: + light: hallway + count: 3 ``` {% endraw %} #### While Loop -This form accepts a list of conditions that are evaluated _before_ each time the sequence -is run. The sequence will be repeated _as long as_ the condition(s) evaluate to true. +This form accepts a list of conditions (see [conditions page] for available options) that are evaluated _before_ each time the sequence +is run. The sequence will be run _as long as_ the condition(s) evaluate to true. {% raw %} ```yaml -- alias: Repeat the sequence AS LONG AS the conditions are true - repeat: - while: - - condition: state - entity_id: input_boolean.run_loop - state: 'on' - - condition: template - value_template: "{{ repeat.index <= 20 }}" +script: + do_something: sequence: - - ... + - service: script.get_ready_for_something + - alias: Repeat the sequence AS LONG AS the conditions are true + repeat: + while: + - condition: state + entity_id: input_boolean.do_something + state: 'on' + # Don't do it too many times + - condition: template + value_template: "{{ repeat.index <= 20 }}" + sequence: + - service: script.something ``` {% endraw %} #### Repeat Until This form accepts a list of conditions that are evaluated _after_ each time the sequence -is run. Therefore the sequence will always run at least once. The sequence will be executed +is run. Therefore the sequence will always run at least once. The sequence will be run _until_ the condition(s) evaluate to true. {% raw %} ```yaml -- alias: Repeat the sequence UNTIL the conditions are true - repeat: - sequence: - - ... - until: +automation: + - trigger: + - platform: state + entity_id: binary_sensor.xyz + to: 'on' + condition: - condition: state - entity_id: binary_sensor.the_cows_have_come_home - state: 'on' + entity_id: binary_sensor.something + state: 'off' + mode: single + action: + - alias: Repeat the sequence UNTIL the conditions are true + repeat: + sequence: + # Run command that for some reason doesn't always work + - service: shell_command.turn_something_on + # Give it time to complete + - delay: + milliseconds: 200 + until: + # Did it work? + - condition: state + entity_id: binary_sensor.something + state: 'on' ``` {% endraw %} #### Repeat Loop Variable -A variable named `repeat` is defined within the repeat sequence. If repeat sequences are -nested, it always applies to the inner-most loop. It contains the following fields: +A variable named `repeat` is defined within the repeat action (i.e., it is available inside `sequence`, `while` & `until`.) +It contains the following fields: field | description -|- @@ -277,25 +313,31 @@ field | description This action allows you to select a sequence of other actions from a list of sequences. Nesting is fully supported. - -Each sequence is paired with a list of conditions. The first sequence whose conditions are all true will be run. +Each sequence is paired with a list of conditions (see [conditions page] for available options.) The first sequence whose conditions are all true will be run. An optional `default` sequence can be included which will be run if none of the sequences from the list are run. {% raw %} ```yaml -- alias: Choose a sequence to run - choose: - - conditions: - - condition: ... - - condition: ... - sequence: - - ... - - conditions: - - condition: ... - sequence: - - ... - default: - - ... +automation: + - trigger: + - platform: state + entity_id: binary_sensor.motion + mode: queued + action: + - choose: + # IF motion detected + - conditions: + - condition: template + value_template: "{{ trigger.to_state.state == 'on' }}" + sequence: + - service: script.turn_on + entity_id: + - script.slowly_turn_on_front_lights + - script.announce_someone_at_door + # ELSE (i.e., motion stopped) + default: + - service: light.turn_off + entity_id: light.front_lights ``` {% endraw %} diff --git a/source/_docs/z-wave/installation.markdown b/source/_docs/z-wave/installation.markdown index fbe0e4ce6c0..e3effd00110 100644 --- a/source/_docs/z-wave/installation.markdown +++ b/source/_docs/z-wave/installation.markdown @@ -101,13 +101,6 @@ zwave: network_key: "0x2e, 0xcc, 0xab, 0x1c, 0xa3, 0x7f, 0x0e, 0xb5, 0x70, 0x71, 0x2d, 0x98, 0x25, 0x43, 0xee, 0x0c" ``` -In addition to modifying the `configuration.yaml` file, the `options.xml` file network key must be set as well: - -```xml - -