From 8f8e60e76f2acf0645e2ddb39278066378042de1 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Thu, 23 Jul 2020 10:39:08 +0200 Subject: [PATCH] Moved devices outside --- configuration.yaml | 1 + devices.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 devices.yaml diff --git a/configuration.yaml b/configuration.yaml index 1979341..b61e053 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -7,3 +7,4 @@ mqtt: password: '!secret mqtt_password' serial: port: /dev/ttyACM0 +devices: devices.yaml diff --git a/devices.yaml b/devices.yaml new file mode 100644 index 0000000..3de9395 --- /dev/null +++ b/devices.yaml @@ -0,0 +1,14 @@ +'0x00158d0003e79145': + friendly_name: main_door +'0x00158d0002caf32f': + friendly_name: spare_door +'0x00158d0004081917': + friendly_name: wireless_switch +'0x00158d000425db09': + friendly_name: front_balcony + temperature_precision: 0 + humidity_precision: 0 +'0x00158d0004024fb9': + friendly_name: rear_balcony + temperature_precision: 0 + humidity_precision: 0 \ No newline at end of file -- 2.47.3