From e41b2e806d1c71349856f45b5de5e79693617fba Mon Sep 17 00:00:00 2001
From: Pieter de Bie <pieter@frim.nl>
Date: Mon, 30 Apr 2018 16:01:33 +0200
Subject: [PATCH] Add battery state to Temperature Sensor

These work the same as the body sensors, so we can simply import
the existing capability.
---
 lib/devices/gateway/sensor_ht.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/devices/gateway/sensor_ht.js b/lib/devices/gateway/sensor_ht.js
index c856d7d..49b3053 100644
--- a/lib/devices/gateway/sensor_ht.js
+++ b/lib/devices/gateway/sensor_ht.js
@@ -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);