Update knx.markdown (#16283)

Fix sync_state syntax example.
* The unit for the sync_state is minutes and not seconds
* The update regularly command is 'every' and not 'expire'
This commit is contained in:
Martin 2021-01-23 12:55:48 +01:00 committed by GitHub
parent c159c0f2a5
commit 421bb76e6d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -876,7 +876,7 @@ knx:
state_address: '2/0/0' state_address: '2/0/0'
``` ```
In order to actively read the sensor data from the bus all 30 seconds you can add the following lines to your `configuration.yaml`: In order to actively read the sensor data from the bus all 30 minutes you can add the following lines to your `configuration.yaml`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -884,7 +884,7 @@ knx:
sensor: sensor:
- name: Heating.Valve1 - name: Heating.Valve1
state_address: '2/0/0' state_address: '2/0/0'
sync_state: expire 30 sync_state: every 30
``` ```
{% configuration %} {% configuration %}