Skip to content

Commit

Permalink
Revert "Add Humidity for DHT22 connected to Shelly Plus Addon"
Browse files Browse the repository at this point in the history
This reverts commit da85a69.
  • Loading branch information
BooosesThaSnipper committed Oct 5, 2023
1 parent 33b5cd0 commit 93cdc99
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 60 deletions.
15 changes: 0 additions & 15 deletions lib/devices/gen2/shellyplus1.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ const shellyplus1 = {
def: 0,
},
},
'Ext.humidity100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/humidity:100`,
mqtt_publish_funct: value => JSON.parse(value).rh,
},
common: {
name: 'Humidity100',
type: 'number',
role: 'value',
read: true,
write: false,
unit: '%',
def: 0,
},
},
'Ext.voltmeter100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/voltmeter:100`,
Expand Down
15 changes: 0 additions & 15 deletions lib/devices/gen2/shellyplus1pm.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,6 @@ const shellyplus1pm = {
def: 0,
},
},
'Ext.humidity100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/humidity:100`,
mqtt_publish_funct: value => JSON.parse(value).rh,
},
common: {
name: 'Humidity100',
type: 'number',
role: 'value',
read: true,
write: false,
unit: '%',
def: 0,
},
},
'Ext.voltmeter100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/voltmeter:100`,
Expand Down
15 changes: 0 additions & 15 deletions lib/devices/gen2/shellyplus2pm.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,6 @@ const shellyplus2pm = {
def: 0,
},
},
'Ext.humidity100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/humidity:100`,
mqtt_publish_funct: value => JSON.parse(value).rh,
},
common: {
name: 'Humidity100',
type: 'number',
role: 'value',
read: true,
write: false,
unit: '%',
def: 0,
},
},
'Ext.voltmeter100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/voltmeter:100`,
Expand Down
15 changes: 0 additions & 15 deletions lib/devices/gen2/shellyplusi4.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,6 @@ const shellyplusi4 = {
def: 0,
},
},
'Ext.humidity100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/humidity:100`,
mqtt_publish_funct: value => JSON.parse(value).rh,
},
common: {
name: 'Humidity100',
type: 'number',
role: 'value',
read: true,
write: false,
unit: '%',
def: 0,
},
},
'Ext.voltmeter100': {
mqtt: {
mqtt_publish: `<mqttprefix>/status/voltmeter:100`,
Expand Down

0 comments on commit 93cdc99

Please sign in to comment.