Fixed compilation issues
This commit is contained in:
parent
7d64788154
commit
98c48e595f
5 changed files with 76 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ import se.hal.intf.HalSensorConfig;
|
|||
import se.hal.intf.HalSensorController;
|
||||
import se.hal.intf.HalSensorData;
|
||||
import se.hal.plugin.tibber.TibberController;
|
||||
import se.hal.struct.devicedata.HumiditySensorData;
|
||||
import se.hal.struct.devicedata.CostSensorData;
|
||||
|
||||
/**
|
||||
* A sensor that calculate current electricity bil
|
||||
|
|
|
|||
|
|
@ -24,12 +24,11 @@
|
|||
|
||||
package se.hal.plugin.tibber.device;
|
||||
|
||||
import se.hal.intf.HalDeviceData;
|
||||
import se.hal.intf.HalSensorConfig;
|
||||
import se.hal.intf.HalSensorController;
|
||||
import se.hal.intf.HalSensorData;
|
||||
import se.hal.struct.devicedata.HumiditySensorData;
|
||||
import se.hal.plugin.tibber.TibberController;
|
||||
import se.hal.struct.devicedata.PriceSensorData;
|
||||
|
||||
/**
|
||||
* A sensor that shows the price of electricity at a specific time
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ package se.hal.plugin.tibber.device;
|
|||
import se.hal.intf.HalSensorConfig;
|
||||
import se.hal.intf.HalSensorController;
|
||||
import se.hal.intf.HalSensorData;
|
||||
import se.hal.struct.devicedata.TemperatureSensorData;
|
||||
import se.hal.struct.devicedata.PowerConsumptionSensorData;
|
||||
import se.hal.plugin.tibber.TibberController;
|
||||
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ public class PowerConsumptionSensor implements HalSensorConfig {
|
|||
|
||||
@Override
|
||||
public Class<? extends HalSensorData> getDeviceDataClass() {
|
||||
return TemperatureSensorData.class;
|
||||
return PowerConsumptionSensorData.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue