forked from platypush/platypush
Added optional unit
column to RawSensor
entity.
This commit is contained in:
parent
94c4e52154
commit
ead4513915
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ if 'raw_sensor' not in Base.metadata:
|
|||
If ``is_json`` is ``True``, then ``value`` is a JSON-encoded string
|
||||
object or array.
|
||||
"""
|
||||
unit = Column(String)
|
||||
|
||||
@property
|
||||
def value(self):
|
||||
|
|
Loading…
Reference in a new issue