Skip to content

Commit 791af6c

Browse files
committed
Fix device type in HVAC action mapper
1 parent 793926c commit 791af6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/device.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function getLightActions(light) {
4444
}
4545

4646
export function getHvacActions(device) {
47-
if (device.type === 'switch') {
47+
if (device.type === 'fan') {
4848
return getLightActions(device);
4949
}
5050

0 commit comments

Comments
 (0)