Skip to content

Commit

Permalink
refactor: make so temperature ouput can be configured for each type
Browse files Browse the repository at this point in the history
  • Loading branch information
sbender9 committed Jul 11, 2018
1 parent ebdc2a5 commit 473b707
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions conversions/temperature.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ let tempMessage = (temp, inst, src) => {
module.exports = (app, plugin) => {
return [{
pgn: 130312,
title: 'Temperature (130312)',
optionKey: 'TEMPERATURE',
title: 'Outside Temperature (130312)',
optionKey: 'TEMPERATURE_OUTSIDE',
keys: [
"environment.outside.temperature"
],
Expand All @@ -23,8 +23,8 @@ module.exports = (app, plugin) => {
},
{
pgn: 130312,
title: 'Temperature (130312)',
optionKey: 'TEMPERATURE',
title: 'Inside Temperature (130312)',
optionKey: 'TEMPERATURE_INSIDE',
keys: [
"environment.inside.temperature"
],
Expand All @@ -34,8 +34,8 @@ module.exports = (app, plugin) => {
},
{
pgn: 130312,
title: 'Temperature (130312)',
optionKey: 'TEMPERATURE',
title: 'Engine Room Temperature (130312)',
optionKey: 'TEMPERATURE_ENGINEROOM',
keys: [
"environment.inside.engineRoom.temperature"
],
Expand All @@ -45,8 +45,8 @@ module.exports = (app, plugin) => {
},
{
pgn: 130312,
title: 'Temperature (130312)',
optionKey: 'TEMPERATURE',
title: 'Refridgerator Temperature (130312)',
optionKey: 'TEMPERATURE_refridgerator',
keys: [
"environment.inside.refridgerator.temperature"
],
Expand Down

0 comments on commit 473b707

Please sign in to comment.