Skip to content

Commit

Permalink
Merge pull request aholstenson#148 from pieter/master
Browse files Browse the repository at this point in the history
Add battery state to Temperature Sensor
  • Loading branch information
aholstenson authored May 17, 2018
2 parents f69569d + e41b2e8 commit 3490031
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/devices/gateway/sensor_ht.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

const SubDevice = require('./subdevice');
const { Temperature, Humidity } = require('../capabilities/sensor');
const Voltage = require('./voltage');

module.exports = class SensorHT extends SubDevice.with(Temperature, Humidity) {
module.exports = class SensorHT extends SubDevice.with(Temperature, Humidity, Voltage) {
constructor(parent, info) {
super(parent, info);

Expand Down

0 comments on commit 3490031

Please sign in to comment.