From fc122909d221a934843cfb7e69eff41963f5a2dd Mon Sep 17 00:00:00 2001 From: becky112358 <63901046+becky112358@users.noreply.github.com> Date: Wed, 4 Oct 2023 14:47:05 +0300 Subject: [PATCH] Fix device name (#677) Co-authored-by: Jaime Trinidad <81958808+Jaime-Trinidad@users.noreply.github.com> --- vendor/micropelt/index.yaml | 2 +- .../{mlrtps01-codec.yaml => mlrtps1-codec.yaml} | 2 +- .../{mlrtps01-profile.yaml => mlrtps1-profile.yaml} | 0 vendor/micropelt/{mlrtps01.jpg => mlrtps1.jpg} | Bin vendor/micropelt/{mlrtps01.js => mlrtps1.js} | 0 vendor/micropelt/{mlrtps01.yaml => mlrtps1.yaml} | 10 +++++----- 6 files changed, 7 insertions(+), 7 deletions(-) rename vendor/micropelt/{mlrtps01-codec.yaml => mlrtps1-codec.yaml} (98%) rename vendor/micropelt/{mlrtps01-profile.yaml => mlrtps1-profile.yaml} (100%) rename vendor/micropelt/{mlrtps01.jpg => mlrtps1.jpg} (100%) rename vendor/micropelt/{mlrtps01.js => mlrtps1.js} (100%) rename vendor/micropelt/{mlrtps01.yaml => mlrtps1.yaml} (92%) diff --git a/vendor/micropelt/index.yaml b/vendor/micropelt/index.yaml index 6f70db16d2..d9ba6769ad 100644 --- a/vendor/micropelt/index.yaml +++ b/vendor/micropelt/index.yaml @@ -1,4 +1,4 @@ endDevices: # Unique identifier of the end device (lowercase, alphanumeric with dashes, max 36 characters) - mlr003 # look in mlr003.yaml for the end device definition - - mlrtps01 # look in mlrtps01.yaml for end device definition + - mlrtps1 # look in mlrtps1.yaml for end device definition diff --git a/vendor/micropelt/mlrtps01-codec.yaml b/vendor/micropelt/mlrtps1-codec.yaml similarity index 98% rename from vendor/micropelt/mlrtps01-codec.yaml rename to vendor/micropelt/mlrtps1-codec.yaml index 7c5dae72a0..f15958b22b 100644 --- a/vendor/micropelt/mlrtps01-codec.yaml +++ b/vendor/micropelt/mlrtps1-codec.yaml @@ -1,7 +1,7 @@ # Uplink decoder decodes binary data uplink into a JSON object (optional) # For documentation on writing encoders and decoders, see: https://thethingsstack.io/integrations/payload-formatters/javascript/ uplinkDecoder: - fileName: mlrtps01.js + fileName: mlrtps1.js # Examples (optional) examples: - description: REV1.0 Example 1 diff --git a/vendor/micropelt/mlrtps01-profile.yaml b/vendor/micropelt/mlrtps1-profile.yaml similarity index 100% rename from vendor/micropelt/mlrtps01-profile.yaml rename to vendor/micropelt/mlrtps1-profile.yaml diff --git a/vendor/micropelt/mlrtps01.jpg b/vendor/micropelt/mlrtps1.jpg similarity index 100% rename from vendor/micropelt/mlrtps01.jpg rename to vendor/micropelt/mlrtps1.jpg diff --git a/vendor/micropelt/mlrtps01.js b/vendor/micropelt/mlrtps1.js similarity index 100% rename from vendor/micropelt/mlrtps01.js rename to vendor/micropelt/mlrtps1.js diff --git a/vendor/micropelt/mlrtps01.yaml b/vendor/micropelt/mlrtps1.yaml similarity index 92% rename from vendor/micropelt/mlrtps01.yaml rename to vendor/micropelt/mlrtps1.yaml index de0381bb84..3142b69cd6 100644 --- a/vendor/micropelt/mlrtps01.yaml +++ b/vendor/micropelt/mlrtps1.yaml @@ -1,5 +1,5 @@ -name: MLRTPS01 -description: MLRTPS01 is a wall mount thermostat with presence detection and temperature set point. It is an 868MHz LoRaWAN® Class A device operating in SF7BW125. +name: MLRTPS1 +description: MLRTPS1 is a wall mount thermostat with presence detection and temperature set point. It is an 868MHz LoRaWAN® Class A device operating in SF7BW125. # Hardware versions (optional, use when you have revisions) hardwareVersions: @@ -25,9 +25,9 @@ firmwareVersions: # If vendorID is empty, the current vendor ID is used. In this example, the vendorID is the current vendor ID, # which is verbose. # Identifier of the profile (lowercase, alphanumeric with dashes, max 36 characters) - id: mlrtps01-profile + id: mlrtps1-profile lorawanCertified: true - codec: mlrtps01-codec + codec: mlrtps1-codec # Sensors that this device features (optional) # Valid values are: @@ -73,7 +73,7 @@ productURL: https://www.micropelt.com/en/products/lorawan/mlr003-2 # Photos photos: - main: mlrtps01.jpg + main: mlrtps1.jpg # Regulatory compliances (optional) compliances: