Add address field to GaugeSensor
This commit is contained in:
parent
a150040b27
commit
19915322da
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ class GaugeSensor(CapBaseObject):
|
||||||
name = StringField('Name of the sensor')
|
name = StringField('Name of the sensor')
|
||||||
unit = StringField('Unit of values')
|
unit = StringField('Unit of values')
|
||||||
forecast = StringField('Forecast')
|
forecast = StringField('Forecast')
|
||||||
|
address = StringField('Address')
|
||||||
lastvalue = Field('Last value', GaugeMeasure)
|
lastvalue = Field('Last value', GaugeMeasure)
|
||||||
history = Field('Value history', list) # lastvalue not included
|
history = Field('Value history', list) # lastvalue not included
|
||||||
gaugeid = StringField('Id of the gauge')
|
gaugeid = StringField('Id of the gauge')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue