From 6de7b1796e2a0f3b4a9c34b7e9e2f6e1dd674d05 Mon Sep 17 00:00:00 2001 From: khairil6 <60084756+khairil6@users.noreply.github.com> Date: Sun, 11 Oct 2020 18:41:01 +0800 Subject: [PATCH] Update fan.js --- accessories/fan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessories/fan.js b/accessories/fan.js index f4cf68e8..7f450292 100644 --- a/accessories/fan.js +++ b/accessories/fan.js @@ -1,7 +1,7 @@ const SwitchAccessory = require('./switch'); class FanAccessory extends SwitchAccessory { - serviceType () { return Service.Thermostat } + serviceType () { return Service.Fan } async setSwitchState (hexData, previousValue) { const { config, state, serviceManager } = this;