public static bool IsCamera(this KakuSensor s) { return(s.Type == KakuSensorType.Camera); }
public static bool IsSmoke(this KakuSensor s) { return(s.Type == KakuSensorType.Smoke); }
public static bool IsMotion(this KakuSensor s) { return(s.Type == KakuSensorType.Motion); }
public static bool IsDoorbell(this KakuSensor s) { return(s.Type == KakuSensorType.Doorbell); }
public static bool IsContact(this KakuSensor s) { return(s.Type == KakuSensorType.Contact || s.Type == KakuSensorType.Contact868); }