From 7830bb31b38d778feca8b06cbf75a37acda8841e Mon Sep 17 00:00:00 2001 From: G Johansson Date: Mon, 8 Jul 2024 15:51:28 +0000 Subject: [PATCH] Add turn_on/off to FanEntity --- src/data/fan.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/data/fan.ts b/src/data/fan.ts index 5bcf32e75890..3320ff5353d8 100644 --- a/src/data/fan.ts +++ b/src/data/fan.ts @@ -17,6 +17,8 @@ export const enum FanEntityFeature { OSCILLATE = 2, DIRECTION = 4, PRESET_MODE = 8, + TURN_OFF = 16, + TURN_ON = 32, } interface FanEntityAttributes extends HassEntityAttributeBase {