Skip to content

Commit 0080722

Browse files
committed
Fix rating default
1 parent 8302386 commit 0080722

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mycodo/inputs/power_monitor_rpi_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
{
137137
'id': 'ct1_rating',
138138
'type': 'float',
139-
'default_value': 1.0,
139+
'default_value': 100,
140140
'required': True,
141141
'name': 'CT1 Rating',
142142
'phrase': 'The Amp rating for the CT1 clamp'
@@ -268,7 +268,7 @@ def __init__(self, input_dev, testing=False):
268268
self.try_initialize()
269269

270270
def initialize(self):
271-
from power_monitor import RPiPowerMonitor, logger, ch
271+
from rpi_power_monitor import RPiPowerMonitor, logger, ch
272272

273273
logger.setLevel(logging.DEBUG)
274274
ch.setLevel(logging.DEBUG)

0 commit comments

Comments
 (0)