From 1847ff3dc6638488f32c9c27060a4716065d49d6 Mon Sep 17 00:00:00 2001 From: Gareth Flowers Date: Wed, 2 Sep 2020 21:10:41 +0100 Subject: [PATCH] Improves formatting of example JSON --- README.md | 57 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 26 deletions(-) diff --git a/README.md b/README.md index e624a1f..ac9bc5a 100755 --- a/README.md +++ b/README.md @@ -20,32 +20,37 @@ Texecom zones must be configured individually in the Homebridge config.json file Example: - "platforms": [ - { - "platform": "Texecom", - "serial_device": "/dev/ttyUSB0", - "baud_rate": 19200, - "zones": [ - { - "name": "Living Room", - "zone_number": "7", - "zone_type": "motion", - "dwell": 1000 - } - , - { - "name": "Front Door", - "zone_number": "15", - "zone_type": "contact", - "dwell": 1000 - } - ], - "areas": [ - {"name": "Texecom Alarm","area_number": "1","area_type": "securitysystem","dwell": 0} - ] - } - ] - +```json +"platforms": [ + { + "platform": "Texecom", + "serial_device": "/dev/ttyUSB0", + "baud_rate": 19200, + "zones": [ + { + "name": "Living Room", + "zone_number": "7", + "zone_type": "motion", + "dwell": 1000 + }, + { + "name": "Front Door", + "zone_number": "15", + "zone_type": "contact", + "dwell": 1000 + } + ], + "areas": [ + { + "name": "Texecom Alarm", + "area_number": "1", + "area_type": "securitysystem", + "dwell": 0 + } + ] + } +] +``` ### Global Configuration