Commit 6e0af474 authored by Bezleputh's avatar Bezleputh Committed by Romain Bignon

[mareeinfo] fix sensor id

parent 99e79741
......@@ -88,7 +88,7 @@ class IndexPage(HTMLPage):
value = self._get_high_tide_value(AM=AM)
if value:
tide = GaugeSensor(u'%s-%s-%s' % (gauge_id, name, _name))
tide = GaugeSensor(u'%s-%s-PM-%s' % (gauge_id, name, _name))
tide.name = u'Pleine Mer %s' % (_name)
tide.unit = u'm'
tide.lastvalue = value
......@@ -126,7 +126,7 @@ class IndexPage(HTMLPage):
value = self._get_low_tide_value(AM=AM)
if value:
tide = GaugeSensor(u'%s-%s-%s' % (gauge_id, name, _name))
tide = GaugeSensor(u'%s-%s-BM-%s' % (gauge_id, name, _name))
tide.name = u'Basse Mer %s' % (_name)
tide.unit = u'm'
tide.lastvalue = value
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment